forked from AuroraMiddleware/gtk
scrolledwindow: Ignore captured motion events if no child is set
Fixes #3173
This commit is contained in:
parent
f938377464
commit
1d371db8d8
@ -1250,6 +1250,9 @@ captured_motion (GtkEventController *controller,
|
||||
if (!priv->use_indicators)
|
||||
return;
|
||||
|
||||
if (!priv->child)
|
||||
return;
|
||||
|
||||
target = gtk_event_controller_get_target (controller);
|
||||
state = gtk_event_controller_get_current_event_state (controller);
|
||||
event = gtk_event_controller_get_current_event (controller);
|
||||
|
Loading…
Reference in New Issue
Block a user