forked from AuroraMiddleware/gtk
window: Don't set is-active twice
We are listening to focus change events for this no need to duplicate the work in ::state-changed.
This commit is contained in:
parent
ec848dc83f
commit
dbd578eaef
@ -5163,8 +5163,6 @@ surface_state_changed (GtkWidget *widget)
|
||||
|
||||
ensure_state_flag_backdrop (widget);
|
||||
|
||||
_gtk_window_set_is_active (window, focused);
|
||||
|
||||
if (!focused)
|
||||
gtk_window_set_mnemonics_visible (window, FALSE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user