diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-28 00:16:36 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-28 00:16:36 +0000 |
| commit | b23c66afd15be9976a80f184df0d044919c56582 (patch) | |
| tree | 721a626ca0bf07bc449b83ec5eb428e1fbca33e8 /openbox/focus.c | |
| parent | fe882632d33e37392761feaf30014096c0c05ba4 (diff) | |
dont rm focus when i actually found something to fall back to with the pointer
Diffstat (limited to 'openbox/focus.c')
| -rw-r--r-- | openbox/focus.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index a4629157..127a3399 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -134,8 +134,7 @@ void focus_fallback(gboolean switching_desks) if (client_focus(it->data)) break; } + if (it == NULL) /* nothing to focus */ + focus_set_client(NULL); } - - if (it == NULL) /* nothing to focus */ - focus_set_client(NULL); } |
