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:
@@ -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))
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user