mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
[x11] update_wm_hints after unsetting WITHDRAWN
Updating the WM hints on the stage window shortcircuits if the stage is in WITHDRAWN state, so we need to move the update_wm_hints() call after the flag has been unset. Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
07453a5861
commit
13f31d8319
@ -577,14 +577,14 @@ clutter_stage_x11_show (ClutterStageWindow *stage_window,
|
||||
stage_x11->xwin_height);
|
||||
}
|
||||
|
||||
update_wm_hints (stage_x11);
|
||||
|
||||
if (stage_x11->fullscreen_on_map)
|
||||
clutter_stage_x11_set_fullscreen (stage_window, TRUE);
|
||||
else
|
||||
clutter_stage_x11_set_fullscreen (stage_window, FALSE);
|
||||
|
||||
set_stage_state (stage_x11, STAGE_X11_WITHDRAWN, 0);
|
||||
|
||||
update_wm_hints (stage_x11);
|
||||
}
|
||||
|
||||
g_assert (STAGE_X11_IS_MAPPED (stage_x11));
|
||||
|
Loading…
Reference in New Issue
Block a user