diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-10 05:56:12 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-10 05:56:12 +0000 |
| commit | 423d70b41812f01c13b46c7f5a28dc727b337073 (patch) | |
| tree | 79df64994ff83251817595f531af3417fa4d460f /openbox | |
| parent | 6212a5ff9c6c4d6d62e75ebfe85978fabf3f9878 (diff) | |
dont leave the focus indicator hanging around when dialogs are disabled
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/focus.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index 59e07f5e..de346ead 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -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; |
