From cf033623a0f5519a42d13119db5e023ffe08a1ac Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 9 Dec 2009 10:56:43 -0500 Subject: Allow skip_taskbar windows to be focused on map when the user requests it in rc.xml. Fixes bug #4350 --- openbox/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/client.c') 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; } -- cgit v1.2.3