1
0
Fork 0

ui: Don't add our filter function twice

This commit is contained in:
Jasper St. Pierre 2014-04-06 15:19:04 -04:00
parent c40868b239
commit 4752776ebf

View file

@ -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