summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-21 20:04:35 +0000
committerDana Jansens <danakj@orodu.net>2007-06-21 20:04:35 +0000
commit24a489e8e58333d381533c77a4e0d869e0293fa4 (patch)
treea231b889ebbf28559ead2f27d0ae51ce51c6c122 /openbox/event.c
parenteda6085586b4b28aa1fcc01f3d2f31615f70437d (diff)
don't activate on raise
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 95937f5f..a75d264a 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -1077,12 +1077,10 @@ static void event_handle_client(ObClient *client, XEvent *e)
sibling = WINDOW_AS_CLIENT(win);
}
- /* activate it rather than just focus it */
if (!config_focus_under_mouse)
ignore_start = event_start_ignore_all_enters();
stacking_restack_request(client, sibling,
- e->xconfigurerequest.detail,
- TRUE);
+ e->xconfigurerequest.detail);
if (!config_focus_under_mouse)
event_end_ignore_all_enters(ignore_start);
@@ -1420,7 +1418,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
ignore_start = event_start_ignore_all_enters();
/* just raise, don't activate */
stacking_restack_request(client, sibling,
- e->xclient.data.l[2], FALSE);
+ e->xclient.data.l[2]);
if (!config_focus_under_mouse)
event_end_ignore_all_enters(ignore_start);