diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-01-08 14:40:29 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-01-08 14:44:37 -0500 |
| commit | 63f748aa3fac4d3ed004a2c5343a51c3a046e21d (patch) | |
| tree | 014f0d85749c6ad39cb3c275d2fab90bfc8b26a8 /openbox/client.c | |
| parent | 447cf22597be8b0f60545cd31355b347ac874002 (diff) | |
Make focus_valid_target() take a desktop argument.
So you can find valid targets on desktops other than the currently visible one
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index 4d8f4e77..98a27dc9 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -290,7 +290,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, self->desktop, + FALSE, FALSE, TRUE, FALSE, FALSE, settings->focus == 1)) { activate = TRUE; |
