1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

fixed a bug introduced by the previous commit

This commit is contained in:
dan
2001-11-25 09:45:27 +00:00
parent 81a1f98ca5
commit bbc87bded6

View File

@@ -1108,12 +1108,13 @@ wManageWindow(WScreen *scr, Window window)
/* if the window was set to hidden because it was hidden /* if the window was set to hidden because it was hidden
* in a previous incarnation and that state was restored */ * in a previous incarnation and that state was restored */
app->flags.hidden = 1; app->flags.hidden = 1;
} } else if (app->flags.hidden) {
if (WFLAGP(app->main_window_desc, start_hidden)) {
if (app->flags.hidden) { wwin->flags.hidden = 1;
/*wwin->flags.hidden = 1;*/ } else {
wUnhideApplication(app, False, False); wUnhideApplication(app, False, False);
raise = True; raise = True;
}
} }
} }
} }