[mutter/wayland] screen: Remove flash_window



commit 9696e785daeb4511a70a225fc87a7dd416e7078f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Mar 20 16:48:15 2014 -0400

    screen: Remove flash_window
    
    It's unused as well

 src/core/screen-private.h |    2 --
 src/core/screen.c         |    1 -
 src/x11/window-x11.c      |    3 ---
 3 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/core/screen-private.h b/src/core/screen-private.h
index 427bda2..22b62cf 100644
--- a/src/core/screen-private.h
+++ b/src/core/screen-private.h
@@ -82,8 +82,6 @@ struct _MetaScreen
   MetaCursorTracker *cursor_tracker;
   MetaCursor current_cursor;
 
-  Window flash_window;
-
   Window wm_sn_selection_window;
   Atom wm_sn_atom;
   guint32 wm_sn_timestamp;
diff --git a/src/core/screen.c b/src/core/screen.c
index bac8dca..5538aee 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -690,7 +690,6 @@ meta_screen_new (MetaDisplay *display,
   screen->current_cursor = -1; /* invalid/unset */
   screen->default_xvisual = DefaultVisualOfScreen (screen->xscreen);
   screen->default_depth = DefaultDepthOfScreen (screen->xscreen);
-  screen->flash_window = None;
 
   screen->wm_sn_selection_window = new_wm_sn_owner;
   screen->wm_sn_atom = wm_sn_atom;
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 339f4ac..b5e7d6e 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -2184,9 +2184,6 @@ is_our_xwindow (MetaDisplay       *display,
   if (xwindow == screen->no_focus_window)
     return TRUE;
 
-  if (xwindow == screen->flash_window)
-    return TRUE;
-
   if (xwindow == screen->wm_sn_selection_window)
     return TRUE;
 


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