1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Fixed issue with GNUstep applications losing focus when all their windows

are closed and there remains only their menu (Matt Rice <ratmice@yahoo.com>)
This commit is contained in:
dan
2005-07-02 19:23:41 +00:00
parent 69730273b1
commit ad641c1992
5 changed files with 10 additions and 13 deletions

View File

@@ -340,17 +340,6 @@ setupGNUstepHints(WWindow *wwin, GNUstepWMAttributes *gs_hints)
wwin->client_flags.no_appicon = 1;
}
/* temporary solution to avoid GS menus in our window list.
* it's temporary because it's not the proper way: windows at the
* floating level are also skipped from the window list with this.
* Fix it -Dan */
if (gs_hints->flags & GSWindowLevelAttr) {
if (gs_hints->window_level == WMMainMenuWindowLevel ||
gs_hints->window_level == WMSubmenuWindowLevel) {
wwin->client_flags.skip_window_list = 1;
}
}
}