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:
11
src/window.c
11
src/window.c
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user