aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkt <markt>2007-03-16 22:09:28 (GMT)
committermarkt <markt>2007-03-16 22:09:28 (GMT)
commit84e9f9708546526ce12269b31bec6f0459f0852f (patch)
tree9c8347f571f963291bc3670a788c52b29483281d
parent74216903cc04b9b4492925fc4f90e9f5f378d8c1 (diff)
downloadfluxbox-84e9f9708546526ce12269b31bec6f0459f0852f.zip
fluxbox-84e9f9708546526ce12269b31bec6f0459f0852f.tar.bz2
fixed a little bug with placing new menus
-rw-r--r--src/FbCommands.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc
index bef6402..d53afd2 100644
--- a/src/FbCommands.cc
+++ b/src/FbCommands.cc
@@ -92,6 +92,7 @@ void showMenu(const BScreen &screen, FbTk::Menu &menu) {
92 int borderw = menu.fbwindow().borderWidth(); 92 int borderw = menu.fbwindow().borderWidth();
93 int head = screen.getHead(rx, ry); 93 int head = screen.getHead(rx, ry);
94 94
95 menu.updateMenu();
95 pair<int, int> m = 96 pair<int, int> m =
96 screen.clampToHead(head, 97 screen.clampToHead(head,
97 rx - menu.width() / 2, 98 rx - menu.width() / 2,