diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-01-11 15:37:36 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-01-11 15:37:50 -0500 |
| commit | e8200ae603f33b70824c125ba6b37bfaec7d89ea (patch) | |
| tree | 99b776424eccce8bb4c19200384e688c1230163f /openbox/focus_cycle_popup.c | |
| parent | bd864012cd17f68c3a25ccfc2fc6cfd304c557f2 (diff) | |
make focus cycle target fallback work right by going to the next prev window
Diffstat (limited to 'openbox/focus_cycle_popup.c')
| -rw-r--r-- | openbox/focus_cycle_popup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index 16522802..d7ac9f53 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -605,14 +605,14 @@ static ObClient* popup_revert(ObClient *target) if (t->client == target) { /* move to a previous window if possible */ for (itt = it->prev; itt; itt = g_list_previous(itt)) { - ObFocusCyclePopupTarget *t2 = it->data; + ObFocusCyclePopupTarget *t2 = itt->data; if (focus_cycle_valid(t2->client)) return t2->client; } /* otherwise move to a following window if possible */ for (itt = it->next; itt; itt = g_list_next(itt)) { - ObFocusCyclePopupTarget *t2 = it->data; + ObFocusCyclePopupTarget *t2 = itt->data; if (focus_cycle_valid(t2->client)) return t2->client; } |
