Commit 453bf477 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Don't query the position of keyboards

Turns out that this causes X errors with the XI2 implementation.
parent 8bc4e13c
......@@ -2045,6 +2045,9 @@ text_view_visibility_notify_event (GtkWidget *text_view,
{
GdkDevice *dev = d->data;
if (gdk_device_get_source (dev) == GDK_SOURCE_KEYBOARD)
continue;
gdk_window_get_device_position (gtk_widget_get_window (text_view), dev,
&wx, &wy, NULL);
......
Markdown is supported
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