forked from AuroraMiddleware/gtk
Merge branch 'wip/chergert/fix-delayed-focus' into 'master'
window: clear move_focus when focus is already set See merge request GNOME/gtk!3658
This commit is contained in:
commit
d29f57fd1d
@ -2024,7 +2024,10 @@ gtk_window_root_set_focus (GtkRoot *root,
|
||||
return;
|
||||
|
||||
if (focus == priv->focus_widget)
|
||||
return;
|
||||
{
|
||||
priv->move_focus = FALSE;
|
||||
return;
|
||||
}
|
||||
|
||||
if (priv->focus_widget)
|
||||
old_focus = g_object_ref (priv->focus_widget);
|
||||
|
Loading…
Reference in New Issue
Block a user