diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-12 06:04:00 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-12 06:04:00 +0000 |
| commit | 85a1a0cfb3e6f57b37d7a7b83132698b2d6cdee3 (patch) | |
| tree | 2a564932c24677d129fe7b88243f15652297b4ce /openbox/screen.c | |
| parent | 6b7cc88c9d4ae2019f3b8fcd300dd3069f2bc680 (diff) | |
don't validate inside client_focus. instead, validate before you call it!
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index 0a5bf2d1..f37c02e9 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -894,7 +894,7 @@ void screen_show_desktop(gboolean show) /* focus desktop */ for (it = focus_order[screen_desktop]; it; it = g_list_next(it)) if (((ObClient*)it->data)->type == OB_CLIENT_TYPE_DESKTOP && - client_focus(it->data)) + client_validate(it->data) && client_focus(it->data)) break; } else { focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS); |
