mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 18:00:09 +00:00
window: Remove needless call to ensure_state_flag_backdrop() on map
This call was forcing needless work since gtk_window_map() already does a gdk_window_show() which initially sets GDK_WINDOW_STATE_FOCUSED that we then handle regularly on the widget's window state event handler. https://bugzilla.gnome.org/show_bug.cgi?id=673237
This commit is contained in:
parent
7c038b1b33
commit
4d7c7ec32f
@ -5017,8 +5017,6 @@ gtk_window_map (GtkWidget *widget)
|
||||
gtk_window_set_focus_visible (window, gtk_window_get_focus_visible (priv->transient_parent));
|
||||
else
|
||||
gtk_window_set_focus_visible (window, visible_focus == GTK_POLICY_ALWAYS);
|
||||
|
||||
ensure_state_flag_backdrop (widget);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user