summaryrefslogtreecommitdiffstats
path: root/tools/aewm-drakx/aewm-drakx.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/aewm-drakx.c
parent969a0df111577727a32e7f59d3143267e31ae2cc (diff)
downloaddrakx-backup-do-not-use-34b8262885c1eaef51043b20b72bd3b0bc8e8dbc.tar
drakx-backup-do-not-use-34b8262885c1eaef51043b20b72bd3b0bc8e8dbc.tar.gz
drakx-backup-do-not-use-34b8262885c1eaef51043b20b72bd3b0bc8e8dbc.tar.bz2
drakx-backup-do-not-use-34b8262885c1eaef51043b20b72bd3b0bc8e8dbc.tar.xz
drakx-backup-do-not-use-34b8262885c1eaef51043b20b72bd3b0bc8e8dbc.zip
set_focus on new map_request event (fix summary step)
Diffstat (limited to 'tools/aewm-drakx/aewm-drakx.c')
-rw-r--r--tools/aewm-drakx/aewm-drakx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/aewm-drakx/aewm-drakx.c b/tools/aewm-drakx/aewm-drakx.c
index f550271c7..4df2544af 100644
--- a/tools/aewm-drakx/aewm-drakx.c
+++ b/tools/aewm-drakx/aewm-drakx.c
@@ -7,7 +7,6 @@
Display *dpy;
Window root;
-Atom wm_state;
static void scan_wins(void)
{
@@ -38,8 +37,6 @@ static void setup_display(void)
XSetErrorHandler(handle_xerror);
root = RootWindow(dpy, DefaultScreen(dpy));
- wm_state = XInternAtom(dpy, "WM_STATE", False);
-
sattr.event_mask = SubstructureRedirectMask|SubstructureNotifyMask;
XChangeWindowAttributes(dpy, root, CWEventMask, &sattr);
}