summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2017-12-14 11:38:54 -0200
committerFlorian Müllner <fmuellner@gnome.org>2018-03-09 20:13:14 +0100
commit00b8ca7aebbd7c2288716dff2d04d0e75be523ac (patch)
tree43b0cf7e2ee43efafc5ca907bfd8af36f79ad1ad
parent675d429ba008d8231fc6d6893ad4556a23dcde8a (diff)
downloadmutter-00b8ca7aebbd7c2288716dff2d04d0e75be523ac.tar.gz
Revert "window: Raise and lower tile match in tandem"
Raising and lowering windows in tandem without a proper grouping mechanism ended up being more annoying than functional. This reverts commit e76a0f564c1e07e32fe857d0f8e5b723c3bbe57d.
-rw-r--r--src/core/window.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/core/window.c b/src/core/window.c
index f4ed4633b..565698da9 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -4958,13 +4958,7 @@ meta_window_raise (MetaWindow *window)
* the child windows appropriately.
*/
if (window->screen->stack == ancestor->screen->stack)
- {
- /* If the window has a tile sibling, raise it before raising the window itself */
- if (window->tile_match)
- meta_stack_raise (window->tile_match->screen->stack, window->tile_match);
-
- meta_stack_raise (window->screen->stack, ancestor);
- }
+ meta_stack_raise (window->screen->stack, ancestor);
else
{
meta_warning (
@@ -4996,10 +4990,6 @@ meta_window_lower (MetaWindow *window)
meta_topic (META_DEBUG_WINDOW_OPS,
"Lowering window %s\n", window->desc);
- /* If the window has a tile sibling, lower it before loweting the window itself */
- if (window->tile_match)
- meta_stack_lower (window->tile_match->screen->stack, window->tile_match);
-
meta_stack_lower (window->screen->stack, window);
}