Don't query the position of keyboards

Turns out that this causes X errors with the XI2 implementation.
This commit is contained in:
Matthias Clasen 2010-12-17 18:39:59 -05:00
parent 8bc4e13c22
commit 453bf477ed

View File

@ -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);