mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -05:00
[x11] Use XWithdrawWindow()
Bug 1516 - Does not withdraw toplevels correctly clutter_stage_x11_hide() needs to use XWithdrawWindow(), not XUnmapWindow(). As it stands now, if the window is already unmapped (say the WM has minimized it), then the WM will not know that Clutter has closed the window and will keep the window managed, showing it in the task list and so forth.
This commit is contained in:
parent
4f663384c7
commit
6064572703
@ -154,7 +154,7 @@ clutter_stage_x11_hide (ClutterActor *actor)
|
||||
ClutterStageX11 *stage_x11 = CLUTTER_STAGE_X11 (actor);
|
||||
|
||||
if (stage_x11->xwin)
|
||||
XUnmapWindow (stage_x11->xdpy, stage_x11->xwin);
|
||||
XWithdrawWindow (stage_x11->xdpy, stage_x11->xwin, stage_x11->xscreen);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user