summaryrefslogtreecommitdiffstats
path: root/tools/aewm-drakx/aewm.h
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.h
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/aewm.h')
-rw-r--r--tools/aewm-drakx/aewm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/aewm-drakx/aewm.h b/tools/aewm-drakx/aewm.h
index d5c8a8b0e..1f2f11f1f 100644
--- a/tools/aewm-drakx/aewm.h
+++ b/tools/aewm-drakx/aewm.h
@@ -15,13 +15,13 @@ struct _Client {
};
extern Display *dpy;
-extern Atom wm_state;
/* events.c */
extern void do_event_loop(void);
/* client.c */
extern Client *find_client(Window);
+extern void set_focus_on(Window w);
extern void set_wm_state(Client *, int);
extern void remove_client(Client *);
extern void make_new_client(Window);
@@ -30,3 +30,5 @@ extern void make_new_client(Window);
void err(const char *, ...);
int handle_xerror(Display *, XErrorEvent *);
+
+#define wm_state XInternAtom(dpy, "WM_STATE", False)