summaryrefslogtreecommitdiff
path: root/openbox/actions
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-08-04 13:29:13 -0400
committerDana Jansens <danakj@orodu.net>2007-08-04 13:29:13 -0400
commit0cfd92ab9e56d8f790c92b83436e981fa46efe20 (patch)
tree0742fe9d489d5ba1c32ba754ed90d0ba4e4c3208 /openbox/actions
parentac59dd4fe53330d717a12f55f6bfc17467ad2ae2 (diff)
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.
Diffstat (limited to 'openbox/actions')
-rw-r--r--openbox/actions/unfocus.c2
1 files changed, 1 insertions, 1 deletions
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;
}