Merge branch 'fix-menu-flicker' into 'master'

Fix crossing event generation

Closes #2536

See merge request GNOME/gtk!1601
This commit is contained in:
Matthias Clasen 2020-04-02 05:19:13 +00:00
commit f169d23cdb

View File

@ -1317,6 +1317,7 @@ gtk_synthesize_crossing_events (GtkRoot *toplevel,
gtk_widget_handle_crossing (widget, &crossing, x, y);
if (crossing_type == GTK_CROSSING_POINTER)
gtk_widget_unset_state_flags (widget, GTK_STATE_FLAG_PRELIGHT);
prev = widget;
widget = gtk_widget_get_parent (widget);
}