dont leave the focus indicator hanging around when dialogs are disabled
This commit is contained in:
parent
6212a5ff9c
commit
423d70b418
1 changed files with 2 additions and 4 deletions
|
@ -526,9 +526,8 @@ void focus_cycle(gboolean forward, gboolean linear,
|
|||
if (cancel) {
|
||||
focus_cycle_target = NULL;
|
||||
goto done_cycle;
|
||||
} else if (done && dialog) {
|
||||
} else if (done)
|
||||
goto done_cycle;
|
||||
}
|
||||
|
||||
if (!focus_order[screen_desktop])
|
||||
goto done_cycle;
|
||||
|
@ -588,9 +587,8 @@ void focus_directional_cycle(ObDirection dir,
|
|||
if (cancel) {
|
||||
focus_cycle_target = NULL;
|
||||
goto done_cycle;
|
||||
} else if (done && dialog) {
|
||||
} else if (done)
|
||||
goto done_cycle;
|
||||
}
|
||||
|
||||
if (!focus_order[screen_desktop])
|
||||
goto done_cycle;
|
||||
|
|
Loading…
Reference in a new issue