[mutter] screen: Remove auto-minimization "feature"



commit 5d8ff2e34d36a72df2c14eea1bc4c265c3aab969
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Oct 1 17:27:08 2014 -0600

    screen: Remove auto-minimization "feature"
    
    https://bugzilla.gnome.org/show_bug.cgi?id=705177

 src/core/screen.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/core/screen.c b/src/core/screen.c
index 2152c41..3f122d5 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]