diff options
author | Rui Matos <tiagomatos@gmail.com> | 2016-01-06 17:11:19 +0100 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2016-01-06 18:56:07 +0100 |
commit | 3a2cd3389a50b3f7789726e3def865941dbd3774 (patch) | |
tree | 89c40982f28d4d9510f1c62e318976b41e40216c /src/core | |
parent | 88acfb8e6051f7fe7dadae41c9f97a430d75c401 (diff) | |
download | mutter-3a2cd3389a50b3f7789726e3def865941dbd3774.tar.gz |
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
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c index 0aeed4fc4..30e7b9a42 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -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); |