[mutter/wip/ui-on-own-connection: 1/13] ui: Don't add our filter function twice



commit 4752776ebf643619850bb6b1cb44ba734f5ebbcd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Apr 6 15:19:04 2014 -0400

    ui: Don't add our filter function twice

 src/ui/ui.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/ui.c b/src/ui/ui.c
index 822eff5..0c8149b 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -253,8 +253,6 @@ meta_ui_new (Display *xdisplay,
   gdisplay = gdk_x11_lookup_xdisplay (xdisplay);
   g_assert (gdisplay == gdk_display_get_default ());
 
-  gdk_window_add_filter (NULL, ui_filter_func, NULL);
-
   ui->frames = meta_frames_new (XScreenNumberOfScreen (screen));
   /* GTK+ needs the frame-sync protocol to work in order to properly
    * handle style changes. This means that the dummy widget we create


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