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/event.c | |
| parent | 9f74f1e244d90a60aa33e5921a66bb22e3faf073 (diff) | |
Fix the Focus/Activate actions to focus windows on other desktops correctly
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c index e07d6a31..b4bd8270 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1276,7 +1276,7 @@ static void event_handle_client(ObClient *client, XEvent *e) it can happen now when the window is on another desktop, but we still don't want it! */ - client_activate(client, FALSE, TRUE, TRUE, TRUE); + client_activate(client, FALSE, FALSE, TRUE, TRUE, TRUE); break; case ClientMessage: /* validate cuz we query stuff off the client here */ @@ -1332,7 +1332,7 @@ static void event_handle_client(ObClient *client, XEvent *e) ob_debug_type(OB_DEBUG_APP_BUGS, "_NET_ACTIVE_WINDOW message for window %s is " "missing source indication\n", client->title); - client_activate(client, FALSE, TRUE, TRUE, + client_activate(client, FALSE, FALSE, TRUE, TRUE, (e->xclient.data.l[0] == 0 || e->xclient.data.l[0] == 2)); } else if (msgtype == prop_atoms.net_wm_moveresize) { |
