aboutsummaryrefslogtreecommitdiff
path: root/src/IconButton.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-01-05 19:58:44 (GMT)
committermarkt <markt>2007-01-05 19:58:44 (GMT)
commitdbe528755ef388f5db01296eaf5dbabcb3c82ec7 (patch)
tree62fa4cda498248c86b0dad7319d6461f3547ea6d /src/IconButton.cc
parent416cca0eddb164d6c328588829f6c48d6e4e976d (diff)
downloadfluxbox_pavel-dbe528755ef388f5db01296eaf5dbabcb3c82ec7.zip
fluxbox_pavel-dbe528755ef388f5db01296eaf5dbabcb3c82ec7.tar.bz2
fix window menu placement with toolbar at top of screen, and disable titlebar when doing it
Diffstat (limited to 'src/IconButton.cc')
-rw-r--r--src/IconButton.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc
index b9cf523..aaff5b8 100644
--- a/src/IconButton.cc
+++ b/src/IconButton.cc
@@ -57,7 +57,6 @@ public:
57 explicit ShowMenu(FluxboxWindow &win):m_win(win) { } 57 explicit ShowMenu(FluxboxWindow &win):m_win(win) { }
58 void execute() { 58 void execute() {
59 m_win.screen().hideMenus(); 59 m_win.screen().hideMenus();
60 m_win.menu().enableTitle();
61 // get last button pos 60 // get last button pos
62 const XEvent &event = Fluxbox::instance()->lastEvent(); 61 const XEvent &event = Fluxbox::instance()->lastEvent();
63 int x = event.xbutton.x_root - (m_win.menu().width() / 2); 62 int x = event.xbutton.x_root - (m_win.menu().width() / 2);