mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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:
@@ -231,8 +231,11 @@ UpdateSwitchMenu(WScreen *scr, WWindow *wwin, int action)
|
||||
char *t;
|
||||
int idx;
|
||||
|
||||
if (wwin->flags.internal_window || WFLAGP(wwin, skip_window_list))
|
||||
if (wwin->flags.internal_window ||
|
||||
WFLAGP(wwin, skip_window_list) ||
|
||||
IS_GNUSTEP_MENU(wwin)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (wwin->frame->title)
|
||||
snprintf(title, len, "%s", wwin->frame->title);
|
||||
|
||||
Reference in New Issue
Block a user