ui: Don't add our filter function twice
This commit is contained in:
parent
c40868b239
commit
4752776ebf
@ -253,8 +253,6 @@ meta_ui_new (Display *xdisplay,
|
|||||||
gdisplay = gdk_x11_lookup_xdisplay (xdisplay);
|
gdisplay = gdk_x11_lookup_xdisplay (xdisplay);
|
||||||
g_assert (gdisplay == gdk_display_get_default ());
|
g_assert (gdisplay == gdk_display_get_default ());
|
||||||
|
|
||||||
gdk_window_add_filter (NULL, ui_filter_func, NULL);
|
|
||||||
|
|
||||||
ui->frames = meta_frames_new (XScreenNumberOfScreen (screen));
|
ui->frames = meta_frames_new (XScreenNumberOfScreen (screen));
|
||||||
/* GTK+ needs the frame-sync protocol to work in order to properly
|
/* GTK+ needs the frame-sync protocol to work in order to properly
|
||||||
* handle style changes. This means that the dummy widget we create
|
* handle style changes. This means that the dummy widget we create
|
||||||
|
Loading…
x
Reference in New Issue
Block a user