diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-12-09 13:25:19 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-12-09 13:25:19 -0500 |
| commit | 324ba15ebc79eb95cf6ec9c0f7d42250fc30f11b (patch) | |
| tree | 844de3ad3fe13214223fcc597d94429217e235a4 /openbox/actions/focus.c | |
| parent | 9f74f1e244d90a60aa33e5921a66bb22e3faf073 (diff) | |
Fix the Focus/Activate actions to focus windows on other desktops correctly
Diffstat (limited to 'openbox/actions/focus.c')
| -rw-r--r-- | openbox/actions/focus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/actions/focus.c b/openbox/actions/focus.c index 0ef9d268..8da8ed5e 100644 --- a/openbox/actions/focus.c +++ b/openbox/actions/focus.c @@ -2,6 +2,7 @@ #include "openbox/event.h" #include "openbox/client.h" #include "openbox/focus.h" +#include "openbox/screen.h" typedef struct { gboolean here; @@ -56,7 +57,7 @@ static gboolean run_func(ObActionsData *data, gpointer options) data->context != OB_FRAME_CONTEXT_FRAME)) { actions_client_move(data, TRUE); - client_activate(data->client, o->here, FALSE, FALSE, TRUE); + client_activate(data->client, TRUE, o->here, FALSE, FALSE, TRUE); actions_client_move(data, FALSE); } } else if (data->context == OB_FRAME_CONTEXT_DESKTOP) { |
