mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
Make disabled xinput work again
This commit is contained in:
parent
7372379c24
commit
d1f5050262
@ -37,7 +37,7 @@ _gdk_input_init (GdkDisplay *display)
|
|||||||
_gdk_init_input_core (display);
|
_gdk_init_input_core (display);
|
||||||
|
|
||||||
display_x11->input_devices = g_list_append (NULL, display->core_pointer);
|
display_x11->input_devices = g_list_append (NULL, display->core_pointer);
|
||||||
display_x11->input_ignore_core = FALSE;
|
display->ignore_core_events = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -72,16 +72,10 @@ _gdk_device_get_history (GdkDevice *device,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
void
|
||||||
_gdk_input_enable_window(GdkWindow *window, GdkDevicePrivate *gdkdev)
|
_gdk_input_select_events (GdkWindow *impl_window,
|
||||||
|
GdkDevicePrivate *gdkdev)
|
||||||
{
|
{
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
gboolean
|
|
||||||
_gdk_input_disable_window(GdkWindow *window, GdkDevicePrivate *gdkdev)
|
|
||||||
{
|
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
@ -99,13 +93,14 @@ _gdk_input_configure_event (XConfigureEvent *xevent,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_gdk_input_enter_event (XCrossingEvent *xevent,
|
_gdk_input_crossing_event (GdkWindow *window,
|
||||||
GdkWindow *window)
|
gboolean enter)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
gint
|
gint
|
||||||
_gdk_input_grab_pointer (GdkWindow * window,
|
_gdk_input_grab_pointer (GdkWindow * window,
|
||||||
|
GdkWindow *native_window,
|
||||||
gint owner_events,
|
gint owner_events,
|
||||||
GdkEventMask event_mask,
|
GdkEventMask event_mask,
|
||||||
GdkWindow * confine_to,
|
GdkWindow * confine_to,
|
||||||
|
Loading…
Reference in New Issue
Block a user