mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
plug: Comment hack for xinput that used private x11 backend API
This commit is contained in:
parent
624dc45755
commit
33417c36f1
@ -352,7 +352,10 @@ _gtk_plug_windowing_filter_func (GdkXEvent *gdk_xevent,
|
||||
break;
|
||||
}
|
||||
|
||||
#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,
|
||||
NULL);
|
||||
"display", display,
|
||||
NULL);
|
||||
|
||||
translated_event = gdk_event_translator_translate (GDK_EVENT_TRANSLATOR (core_device_manager), display, xevent);
|
||||
gdk_event_set_device (translated_event, keyboard);
|
||||
|
Loading…
Reference in New Issue
Block a user