diff options
author | mathias <mathias> | 2004-11-24 23:24:55 (GMT) |
---|---|---|
committer | mathias <mathias> | 2004-11-24 23:24:55 (GMT) |
commit | ad095f9f06fe6e2110218d47ec144175c8ea2ba0 (patch) | |
tree | f96f9e90c7df4b9166b2ada4cc9f00bb46d93b4e | |
parent | 83a3b4775846b6bed0d9f62813db47960bd7ea43 (diff) | |
download | fluxbox_pavel-ad095f9f06fe6e2110218d47ec144175c8ea2ba0.zip fluxbox_pavel-ad095f9f06fe6e2110218d47ec144175c8ea2ba0.tar.bz2 |
enable title of windowmenu when called from iconbar
-rw-r--r-- | src/IconButton.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc index 457a921..9b5c054 100644 --- a/src/IconButton.cc +++ b/src/IconButton.cc | |||
@@ -58,11 +58,11 @@ public: | |||
58 | explicit ShowMenu(FluxboxWindow &win):m_win(win) { } | 58 | explicit ShowMenu(FluxboxWindow &win):m_win(win) { } |
59 | void execute() { | 59 | void execute() { |
60 | m_win.screen().hideMenus(); | 60 | m_win.screen().hideMenus(); |
61 | m_win.menu().enableTitle(); | ||
61 | // get last button pos | 62 | // get last button pos |
62 | const XEvent &event = Fluxbox::instance()->lastEvent(); | 63 | const XEvent &event = Fluxbox::instance()->lastEvent(); |
63 | int x = event.xbutton.x_root - (m_win.menu().width() / 2); | 64 | int x = event.xbutton.x_root - (m_win.menu().width() / 2); |
64 | int y = event.xbutton.y_root - (m_win.menu().height() / 2); | 65 | int y = event.xbutton.y_root - (m_win.menu().height() / 2); |
65 | |||
66 | m_win.showMenu(x, y); | 66 | m_win.showMenu(x, y); |
67 | } | 67 | } |
68 | private: | 68 | private: |