]> Dogcows Code - chaz/openbox/blob - openbox/focus.h
add engine options to the new rc file
[chaz/openbox] / openbox / focus.h
1 #ifndef __focus_h
2 #define __focus_h
3
4 #include <X11/Xlib.h>
5 #include <glib.h>
6
7 struct Client;
8
9 /*! The window which gets focus when nothing else will be focused */
10 extern Window focus_backup;
11
12 /*! The client which is currently focused */
13 extern struct Client *focus_client;
14
15 /*! The recent focus order on each desktop */
16 extern GList **focus_order;
17
18 /*! Should new windows be focused */
19 extern gboolean focus_new;
20 /*! Should focus follow the mouse pointer */
21 extern gboolean focus_follow;
22
23 void focus_startup();
24 void focus_shutdown();
25
26 /*! Specify which client is currently focused, this doesn't actually
27 send focus anywhere, its called by the Focus event handlers */
28 void focus_set_client(struct Client *client);
29
30 /*! Call this when you need to focus something! */
31 void focus_fallback(gboolean switching_desks);
32
33 #endif
This page took 0.033506 seconds and 4 git commands to generate.