1
0
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:
dan
2005-07-02 19:23:41 +00:00
parent 69730273b1
commit ad641c1992
5 changed files with 10 additions and 13 deletions

View File

@@ -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);