all repos — fluxbox @ ad095f9f06fe6e2110218d47ec144175c8ea2ba0

custom fork of the fluxbox windowmanager

enable title of windowmenu when called from iconbar
mathias mathias
commit

ad095f9f06fe6e2110218d47ec144175c8ea2ba0

parent

83a3b4775846b6bed0d9f62813db47960bd7ea43

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/IconButton.ccsrc/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: