Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
33417c36
Commit
33417c36
authored
Dec 18, 2010
by
Benjamin Otte
Committed by
Matthias Clasen
Dec 21, 2010
Browse files
plug: Comment hack for xinput that used private x11 backend API
parent
624dc457
Changes
1
Hide whitespace changes
Inline
Side-by-side
gtk/gtkplug-x11.c
View file @
33417c36
...
...
@@ -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);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment