From 85a1a0cfb3e6f57b37d7a7b83132698b2d6cdee3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 12 Mar 2007 06:04:00 +0000 Subject: don't validate inside client_focus. instead, validate before you call it! --- openbox/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/screen.c') 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); -- cgit v1.2.3