Commit 33417c36 authored by Benjamin Otte's avatar Benjamin Otte Committed by Matthias Clasen
Browse files

plug: Comment hack for xinput that used private x11 backend API

parent 624dc457
......@@ -352,7 +352,10 @@ _gtk_plug_windowing_filter_func (GdkXEvent *gdk_xevent,
#ifdef XINPUT_2
#if 0
/* FIXME: this needs some X11 backend api to do things
* in a saner way
case KeyPress:
case KeyRelease:
......@@ -394,8 +397,8 @@ _gtk_plug_windowing_filter_func (GdkXEvent *gdk_xevent,
if (G_UNLIKELY (!core_device_manager))
core_device_manager = g_object_new (GDK_TYPE_DEVICE_MANAGER_CORE,
"display", display,
"display", display,
translated_event = gdk_event_translator_translate (GDK_EVENT_TRANSLATOR (core_device_manager), display, xevent);
gdk_event_set_device (translated_event, keyboard);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment