diff options
Diffstat (limited to 'openbox/focus.h')
| -rw-r--r-- | openbox/focus.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/openbox/focus.h b/openbox/focus.h new file mode 100644 index 00000000..9db52026 --- /dev/null +++ b/openbox/focus.h @@ -0,0 +1,20 @@ +#ifndef __focus_h +#define __focus_h + +#include <X11/Xlib.h> + +struct Client; + +/*! The window which gets focus when nothing else will be focused */ +extern Window focus_backup; + +/*! The client which is currently focused */ +extern struct Client *focus_client; + +void focus_startup(); + +/*! Specify which client is currently focused, this doesn't actually + send focus anywhere, its called by the Focus event handlers */ +void focus_set_client(struct Client *client); + +#endif |
