diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-01-11 12:47:59 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-01-11 12:47:59 -0500 |
| commit | 12653a4153bccd5d9a46998753e7a1bc17479505 (patch) | |
| tree | 908a1f8891306e42b055ca167530cf0195136647 /openbox/screen.c | |
| parent | d3a01a40f35cb3ae6c5ad8329291e86e2e599691 (diff) | |
Redraw the focus cycle popup when the list of focusable windows changes, rather than closing it
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index d88be432..075d3074 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -708,7 +708,8 @@ void screen_set_desktop(guint num, gboolean dofocus) for (it = stacking_list; it; it = g_list_next(it)) { if (WINDOW_IS_CLIENT(it->data)) { ObClient *c = it->data; - client_show(c); + if (client_show(c)) + focus_cycle_add(c); } } @@ -719,8 +720,7 @@ void screen_set_desktop(guint num, gboolean dofocus) if (WINDOW_IS_CLIENT(it->data)) { ObClient *c = it->data; if (client_hide(c)) { - /* in the middle of cycling..? kill it. */ - focus_cycle_stop(c); + focus_cycle_remove(c); if (c == focus_client) { /* c was focused and we didn't do fallback clearly so make |
