From 0ba67021a901467345f18ac8f8f1ad2adcf9ff0f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 25 Oct 2016 15:31:55 -0400 Subject: [PATCH] Remove an unused function This function is no longer used, now that offscreen windows are gone. --- gdk/gdkwindow.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index febc3c00ed..548f4f0720 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -1057,19 +1057,6 @@ get_native_device_event_mask (GdkWindow *private, } } -static GdkEventMask -get_native_grab_event_mask (GdkEventMask grab_mask) -{ - /* Similar to the above but for pointer events only */ - return - GDK_POINTER_MOTION_MASK | - GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | - GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | - GDK_SCROLL_MASK | - (grab_mask & - ~GDK_POINTER_MOTION_HINT_MASK); -} - static GdkEventMask get_native_event_mask (GdkWindow *private) {