forked from AuroraMiddleware/gtk
Don't query the position of keyboards
Turns out that this causes X errors with the XI2 implementation.
This commit is contained in:
parent
8bc4e13c22
commit
453bf477ed
@ -2045,6 +2045,9 @@ text_view_visibility_notify_event (GtkWidget *text_view,
|
|||||||
{
|
{
|
||||||
GdkDevice *dev = d->data;
|
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,
|
gdk_window_get_device_position (gtk_widget_get_window (text_view), dev,
|
||||||
&wx, &wy, NULL);
|
&wx, &wy, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user