diff options
Diffstat (limited to 'src/core/display.c')
-rw-r--r-- | src/core/display.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/display.c b/src/core/display.c index f569c461..e12dd60a 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -82,6 +82,7 @@ #include <X11/extensions/Xdamage.h> #include <X11/extensions/Xfixes.h> #include <gtk/gtk.h> + #include <gdk/gdkx.h> #endif #include <string.h> @@ -1454,11 +1455,7 @@ static gboolean maybe_send_event_to_gtk(MetaDisplay* display, XEvent* xevent) return FALSE; } -#if GTK_CHECK_VERSION (3, 0, 0) gdk_window = gdk_x11_window_lookup_for_display(gdk_display, window); -#else - gdk_window = gdk_window_lookup_for_display(gdk_display, window); -#endif if (gdk_window == NULL) { |