1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 05:48:01 +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

@@ -334,6 +334,10 @@ typedef struct WWindow {
#define WINDOW_LEVEL(w) ((w)->frame->core->stacking->window_level)
#define IS_GNUSTEP_MENU(w) ((w)->wm_gnustep_attr && \
((w)->wm_gnustep_attr->flags & GSWindowLevelAttr) && \
((w)->wm_gnustep_attr->window_level==WMMainMenuWindowLevel || \
(w)->wm_gnustep_attr->window_level==WMSubmenuWindowLevel))
/*