diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-12-17 18:39:59 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-12-17 18:41:24 -0500 |
commit | 453bf477ed3088fd9d3310e070d0248b84821d21 (patch) | |
tree | bce623a4a6c269fdee1ef1ad657ede74f33ff25b /gtk/gtkaboutdialog.c | |
parent | 8bc4e13c220344b50085dc53ffef0a3ccfef3247 (diff) | |
download | gtk+-453bf477ed3088fd9d3310e070d0248b84821d21.tar.gz |
Don't query the position of keyboards
Turns out that this causes X errors with the XI2 implementation.
Diffstat (limited to 'gtk/gtkaboutdialog.c')
-rw-r--r-- | gtk/gtkaboutdialog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 4844ed792d..b72676d1ba 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -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); |