mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
Merge branch 'assert-before-running-into-loop' into 'main'
st/focus-manager: Check for NULL instead of stage to exit loop See merge request GNOME/gnome-shell!3220
This commit is contained in:
commit
ca89b52013
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ st_focus_manager_stage_event (ClutterActor *stage,
|
|||
if (!focused)
|
||||
return FALSE;
|
||||
|
||||
for (group = focused; group != stage; group = clutter_actor_get_parent (group))
|
||||
for (group = focused; group != NULL; group = clutter_actor_get_parent (group))
|
||||
{
|
||||
if (g_hash_table_lookup (manager->priv->groups, group))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue