mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
window: Re-evaluate window visibility when making it transient
In case a window is hidden when we're ordered to make it transient to a different parent we must re-evaluate its visibility status or we'll get into an inconsistent state where the parent is visible and the child isn't. https://bugzilla.gnome.org/show_bug.cgi?id=759297
This commit is contained in:
parent
88acfb8e60
commit
3a2cd3389a
@ -7435,7 +7435,7 @@ meta_window_set_transient_for (MetaWindow *window,
|
||||
meta_window_group_leader_changed (window);
|
||||
|
||||
if (!window->constructing && !window->override_redirect)
|
||||
meta_window_queue (window, META_QUEUE_MOVE_RESIZE);
|
||||
meta_window_queue (window, META_QUEUE_MOVE_RESIZE | META_QUEUE_CALC_SHOWING);
|
||||
|
||||
if (meta_window_appears_focused (window) && window->transient_for != NULL)
|
||||
meta_window_propagate_focus_appearance (window, TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user