summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-09 10:56:43 -0500
committerDana Jansens <danakj@orodu.net>2009-12-09 10:56:43 -0500
commitcf033623a0f5519a42d13119db5e023ffe08a1ac (patch)
tree3ff5b9d76d9909ee77faf6d44e0e48033a88a13c /openbox/client.c
parent301122057283400dda30cd8ed04c7b7b69e4a912 (diff)
Allow skip_taskbar windows to be focused on map when the user requests it in rc.xml. Fixes bug #4350
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index a91b9503..c4576952 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -370,7 +370,8 @@ void client_manage(Window window, ObPrompt *prompt)
(user_time != 0) &&
/* this checks for focus=false for the window */
(!settings || settings->focus != 0) &&
- focus_valid_target(self, FALSE, FALSE, TRUE, FALSE, FALSE))
+ focus_valid_target(self, FALSE, FALSE, TRUE, FALSE, FALSE,
+ settings->focus == 1))
{
activate = TRUE;
}