From 0cfd92ab9e56d8f790c92b83436e981fa46efe20 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 4 Aug 2007 13:29:13 -0400 Subject: don't make omnipresent windows lose focus when changing desktops. this is done by allowing focus_fallback to specify if focus has been lost or not. usually if you're call it, focus is lost, but not always. --- openbox/actions/unfocus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/actions') diff --git a/openbox/actions/unfocus.c b/openbox/actions/unfocus.c index 70384f4d..0527d2a0 100644 --- a/openbox/actions/unfocus.c +++ b/openbox/actions/unfocus.c @@ -12,6 +12,6 @@ void action_unfocus_startup() static gboolean run_func(ObActionsData *data, gpointer options) { if (data->client && data->client == focus_client) - focus_fallback(FALSE, FALSE, TRUE); + focus_fallback(FALSE, FALSE, TRUE, FALSE); return FALSE; } -- cgit v1.2.3