]> icculus.org git repositories - dana/openbox.git/blob - c/focus.h
reset focus to root before exiting
[dana/openbox.git] / c / focus.h
1 #ifndef __focus_h
2 #define __focus_h
3
4 #include <X11/Xlib.h>
5
6 struct Client;
7
8 /*! The window which gets focus when nothing else will be focused */
9 extern Window focus_backup;
10
11 /*! The client which is currently focused */
12 extern struct Client *focus_client;
13
14 void focus_startup();
15
16 /*! Specify which client is currently focused, this doesn't actually
17   send focus anywhere, its called by the Focus event handlers */
18 void focus_set_client(struct Client *client);
19
20 #endif