1
0
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:
id
1999-05-01 20:59:07 +00:00
parent c2434e8925
commit 94a873707c
2 changed files with 13 additions and 11 deletions

View File

@@ -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