mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-30 10:22:34 +01:00
Added Expert option: "Close rootmenu when mouse (left or right) is clicked outside focus.
Common WindowMaker's rootmenu behavior if press right mouse button open menu and close only with same button. It's uncomfortably, it patch allows close menu by left or right is clicked outside focus. Changed func "static WMenu*configureMenu(WScreen *scr, WMPropList *definition)" to non-static forglobal use. Added new OPTION_WMAKER for this Expert-option. Changed event.c: for correct work should use initialization func configureMenu afterwMenuDestroy (this is a feature of the event implementation XEvent).
This commit is contained in:
committed by
Carlos R. Mafra
parent
033d2d9a6f
commit
7d423a3a0f
@@ -25,5 +25,6 @@
|
||||
Bool wRootMenuPerformShortcut(XEvent * event);
|
||||
void wRootMenuBindShortcuts(Window window);
|
||||
void OpenRootMenu(WScreen * scr, int x, int y, int keyboard);
|
||||
WMenu *configureMenu(WScreen *scr, WMPropList *definition);
|
||||
|
||||
#endif /* WMROOTMENU_H */
|
||||
|
||||
Reference in New Issue
Block a user