[mutter] window-x11: Fix silly regression



commit ebc2e7221b11be177d8493257756cb2a3b435a5b
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jun 7 11:48:55 2014 +0200

    window-x11: Fix silly regression
    
    First we figure out the window type, then we ignore it - ouch.

 src/x11/window-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 7034224..3a9735d 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -3182,7 +3182,7 @@ meta_window_x11_recalc_window_type (MetaWindow *window)
    */
   if (window->override_redirect)
     {
-      switch (window->type)
+      switch (type)
         {
         /* Decorated types */
         case META_WINDOW_NORMAL:


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