summaryrefslogtreecommitdiffstats
path: root/tools/aewm-drakx/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aewm-drakx/events.c')
-rw-r--r--tools/aewm-drakx/events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/aewm-drakx/events.c b/tools/aewm-drakx/events.c
index 4a6ba53a4..f9a387e1e 100644
--- a/tools/aewm-drakx/events.c
+++ b/tools/aewm-drakx/events.c
@@ -25,6 +25,7 @@ static void handle_map_request(XMapRequestEvent *e)
if (c) {
XMapWindow(dpy, c->window);
set_wm_state(c, NormalState);
+ set_focus_on(c->window);
} else {
make_new_client(e->window);
}