diff options
Diffstat (limited to 'gtk/gtktext.c')
-rw-r--r-- | gtk/gtktext.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtktext.c b/gtk/gtktext.c index d0711ed3f8..f17650ef9d 100644 --- a/gtk/gtktext.c +++ b/gtk/gtktext.c @@ -2940,6 +2940,11 @@ gtk_text_motion_controller_motion (GtkEventControllerMotion *controller, GtkText *self) { GtkTextPrivate *priv = gtk_text_get_instance_private (self); + GdkEvent *event; + + event = gtk_event_controller_get_current_event (GTK_EVENT_CONTROLLER (controller)); + if (gdk_motion_event_is_synthetic (event)) + return; if (priv->mouse_cursor_obscured) { |