From ad095f9f06fe6e2110218d47ec144175c8ea2ba0 Mon Sep 17 00:00:00 2001 From: mathias Date: Wed, 24 Nov 2004 23:24:55 +0000 Subject: enable title of windowmenu when called from iconbar --- src/IconButton.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: explicit ShowMenu(FluxboxWindow &win):m_win(win) { } void execute() { m_win.screen().hideMenus(); + m_win.menu().enableTitle(); // get last button pos const XEvent &event = Fluxbox::instance()->lastEvent(); int x = event.xbutton.x_root - (m_win.menu().width() / 2); int y = event.xbutton.y_root - (m_win.menu().height() / 2); - m_win.showMenu(x, y); } private: -- cgit v0.11.2