From 5d8ff2e34d36a72df2c14eea1bc4c265c3aab969 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 1 Oct 2014 17:27:08 -0600 Subject: [PATCH] screen: Remove auto-minimization "feature" https://bugzilla.gnome.org/show_bug.cgi?id=705177 --- src/core/screen.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/core/screen.c b/src/core/screen.c index 2152c418c..3f122d523 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -3085,21 +3085,6 @@ check_fullscreen_func (gpointer data) g_free (monitors); } - - /* If we find a window that is fullscreen but not in the FULLSCREEN - * layer, it means that we've kicked it out of the layer because - * we've focused another window on the same monitor. In this case - * it would be confusing to keep the window fullscreen and visible, - * so minimize it. We can't do the same thing for override-redirect - * windows, so we just hope the application does the right thing. - */ - if (!covers_monitors && window->fullscreen) - { - meta_window_minimize (window); - meta_topic (META_DEBUG_WINDOW_OPS, - "Minimizing %s: was fullscreen but in a lower layer\n", - window->desc); - } } g_slist_free (windows);