aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2016-01-04 19:40:41 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-01-04 19:41:01 (GMT)
commit3e4570becc66f868c14bef8b97edcca2d4b135bc (patch)
tree3b6b242d21f15d3dd9c5f8c22305181e89a70162 /src
parentc7462f09a4ef3c6be7a68284d81779747bf7ab8d (diff)
parentc8a1c67494bc6941b4a2f1298bf88a80543988ad (diff)
downloadfluxbox-3e4570becc66f868c14bef8b97edcca2d4b135bc.zip
fluxbox-3e4570becc66f868c14bef8b97edcca2d4b135bc.tar.bz2
merge pull-request 14
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/Menu.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 0a7c20a..333a609 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -430,6 +430,8 @@ void Menu::updateMenu() {
430 m_item_w = std::max(iw, m_item_w); 430 m_item_w = std::max(iw, m_item_w);
431 } 431 }
432 432
433 // the menu width should be as wide as the widest menu item
434 w = m_item_w;
433 435
434 // calculate needed columns 436 // calculate needed columns
435 m_columns = 0; 437 m_columns = 0;