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
This commit is contained in:
Owen W. Taylor
2009-06-15 14:31:04 -04:00
parent 6314ee8780
commit 34e4b594cd
3 changed files with 34 additions and 25 deletions

View File

@@ -1435,7 +1435,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