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:
@@ -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:
|
||||
|
||||
@@ -1403,11 +1403,13 @@ 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) {
|
||||
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) {
|
||||
unhideWindow(wapp->app_icon->icon, wapp->app_icon->x_pos,
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user