diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2009-06-15 14:31:04 -0400 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-02-27 19:27:19 +0200 |
commit | 15997da604228ca249cbf95a9828f6c2a5669e2b (patch) | |
tree | c30cdbc71080652dc788233f1ef94fefd562feda /src/core/window-props.c | |
parent | 4eb7a815d33d8181eb917464f73850c83948aef2 (diff) | |
download | metacity-15997da604228ca249cbf95a9828f6c2a5669e2b.tar.gz |
don't do stacking for override-redirect windows
Don't add override-redirect windows to MetaStack; we shouldn't
be restacking them.
Since we *aren't* stacking the override-redirect windows, we need to
be careful that to ignore them when looking for the top managed
window.
http://bugzilla.gnome.org/show_bug.cgi?id=585984
Diffstat (limited to 'src/core/window-props.c')
-rw-r--r-- | src/core/window-props.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/window-props.c b/src/core/window-props.c index ba743afb..89836e9a 100644 --- a/src/core/window-props.c +++ b/src/core/window-props.c @@ -1561,7 +1561,8 @@ reload_transient_for (MetaWindow *window, meta_window_recalc_window_type (window); /* update stacking constraints */ - meta_stack_update_transient (window->screen->stack, window); + if (!window->override_redirect) + meta_stack_update_transient (window->screen->stack, window); /* possibly change its group. We treat being a window's transient as * equivalent to making it your group leader, to work around shortcomings |