mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
Fix a crash in user menu and a menu map bug.
This commit is contained in:
@@ -235,7 +235,8 @@ wSetFocusTo(WScreen *scr, WWindow *wwin)
|
||||
wUserMenuRefreshInstances(napp->menu, wwin);
|
||||
#endif /* USER_MENU */
|
||||
|
||||
wAppMenuMap(napp->menu, wwin);
|
||||
if (wwin->flags.mapped)
|
||||
wAppMenuMap(napp->menu, wwin);
|
||||
#ifdef NEWAPPICON
|
||||
wApplicationActivate(napp);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user