summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-22 04:59:06 +0000
committerDana Jansens <danakj@orodu.net>2007-06-22 04:59:06 +0000
commit29c4cf4a15bc5fa97ba746b03a5e334f989c645e (patch)
tree2b397651cfb0b269f0fd9519bcefb8894274b73b /openbox/event.c
parentfbc7607fbd1a380428a53094e727ac7631871bd4 (diff)
add the activate action. it will replace the focus action, as it can just focus without raising now (or without unshading)
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c
index cd66014b..ab4e8f9a 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -1219,7 +1219,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);
+ client_activate(client, FALSE, TRUE, TRUE, TRUE);
break;
case ClientMessage:
/* validate cuz we query stuff off the client here */
@@ -1297,7 +1297,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_activate(client, FALSE,
+ 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) {