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:
@@ -1108,15 +1108,16 @@ 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* setup the frame descriptor */
|
/* setup the frame descriptor */
|
||||||
wwin->frame->core->descriptor.handle_mousedown = frameMouseDown;
|
wwin->frame->core->descriptor.handle_mousedown = frameMouseDown;
|
||||||
|
|||||||
Reference in New Issue
Block a user