summaryrefslogtreecommitdiffstats
path: root/tools/aewm-drakx/events.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-15 17:32:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-15 17:32:58 +0000
commit34b8262885c1eaef51043b20b72bd3b0bc8e8dbc (patch)
treeb4208036788e55e0ed61a5ceffeac9ab90ad693e /tools/aewm-drakx/events.c
parent969a0df111577727a32e7f59d3143267e31ae2cc (diff)
downloaddrakx-34b8262885c1eaef51043b20b72bd3b0bc8e8dbc.tar
drakx-34b8262885c1eaef51043b20b72bd3b0bc8e8dbc.tar.gz
drakx-34b8262885c1eaef51043b20b72bd3b0bc8e8dbc.tar.bz2
drakx-34b8262885c1eaef51043b20b72bd3b0bc8e8dbc.tar.xz
drakx-34b8262885c1eaef51043b20b72bd3b0bc8e8dbc.zip
set_focus on new map_request event (fix summary step)
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);
}