summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-08 11:32:40 -0500
committerDana Jansens <danakj@orodu.net>2009-12-08 13:56:37 -0500
commit07126124c9242a5a20883c3145464730e50afe94 (patch)
tree89124d70c3b3cb7d3df85618a8f273fb5f731df0 /openbox/event.c
parent11ecb7d2199d06b2929ba7e5d3c92c021038a0cc (diff)
Fix client_activate() to work for internal Openbox menus
client_activate() is a helpful way to focus a window on another desktop, but only Openbox is allowed to do such things, user messages cannot.
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 93c5fa21..e07d6a31 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -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, TRUE, TRUE, TRUE,
+ client_activate(client, FALSE, TRUE, TRUE,
(e->xclient.data.l[0] == 0 ||
e->xclient.data.l[0] == 2));
} else if (msgtype == prop_atoms.net_wm_moveresize) {