From d1f5050262da637a6609d6e794bcca45ae2fcb3e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 29 May 2009 16:45:06 +0200 Subject: [PATCH] Make disabled xinput work again --- gdk/x11/gdkinput-none.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/gdk/x11/gdkinput-none.c b/gdk/x11/gdkinput-none.c index 38dc59c14f..4d21beff34 100644 --- a/gdk/x11/gdkinput-none.c +++ b/gdk/x11/gdkinput-none.c @@ -37,7 +37,7 @@ _gdk_input_init (GdkDisplay *display) _gdk_init_input_core (display); display_x11->input_devices = g_list_append (NULL, display->core_pointer); - display_x11->input_ignore_core = FALSE; + display->ignore_core_events = FALSE; } void @@ -72,16 +72,10 @@ _gdk_device_get_history (GdkDevice *device, return FALSE; } -gboolean -_gdk_input_enable_window(GdkWindow *window, GdkDevicePrivate *gdkdev) +void +_gdk_input_select_events (GdkWindow *impl_window, + GdkDevicePrivate *gdkdev) { - return TRUE; -} - -gboolean -_gdk_input_disable_window(GdkWindow *window, GdkDevicePrivate *gdkdev) -{ - return TRUE; } gboolean @@ -99,13 +93,14 @@ _gdk_input_configure_event (XConfigureEvent *xevent, } void -_gdk_input_enter_event (XCrossingEvent *xevent, - GdkWindow *window) +_gdk_input_crossing_event (GdkWindow *window, + gboolean enter) { } gint _gdk_input_grab_pointer (GdkWindow * window, + GdkWindow *native_window, gint owner_events, GdkEventMask event_mask, GdkWindow * confine_to,