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

- Fixed a bug with deminiaturizing windows when the application is hidden and

the miniaturized window is selected from the window list menu
This commit is contained in:
dan
2003-02-24 04:06:20 +00:00
parent 1902325087
commit fe4cd695af
2 changed files with 11 additions and 6 deletions

View File

@@ -54,6 +54,8 @@ Changes since version 0.80.2:
patch (Peter Zijlstra <a.p.zijlstra@chello.nl>)
- Fixed bug with cursor locked in drag mode after Alt-dragging a window
- Added Catalan translation (Ernest Adrogué <eadrogue@gmx.net>)
- Fixed a bug with deminiaturizing windows when the application is hidden and
the miniaturized window is selected from the window list menu
Changes since version 0.80.1:

View File

@@ -1403,10 +1403,12 @@ wUnhideApplication(WApplication *wapp, Bool miniwindows, Bool bringToCurrentWS)
if (bringToCurrentWS)
wWindowChangeWorkspace(wlist, scr->current_workspace);
wlist->flags.hidden = 0;
if (miniwindows &&
wlist->frame->workspace == scr->current_workspace) {
wUnshadeWindow(wlist);
wRaiseFrame(wlist->frame->core);
if (wlist->frame->workspace == scr->current_workspace) {
XMapWindow(dpy, wlist->frame->core->window);
if (miniwindows) {
wUnshadeWindow(wlist);
wRaiseFrame(wlist->frame->core);
}
}
WMPostNotificationName(WMNChangedState, wlist, "hide");
} else if (wlist->flags.hidden) {
@@ -1685,7 +1687,7 @@ wMakeWindowVisible(WWindow *wwin)
wWorkspaceChange(wwin->screen_ptr, wwin->frame->workspace);
if (wwin->flags.shaded) {
wUnshadeWindow(wwin);
wUnshadeWindow(wwin);
}
if (wwin->flags.hidden) {
WApplication *app;
@@ -1696,7 +1698,8 @@ wMakeWindowVisible(WWindow *wwin)
app->last_focused = wwin;
wUnhideApplication(app, False, False);
}
} else if (wwin->flags.miniaturized) {
}
if (wwin->flags.miniaturized) {
wDeiconifyWindow(wwin);
} else {
if (!WFLAGP(wwin, no_focusable))