]> Dogcows Code - chaz/openbox/blob - openbox/openbox.h
rename "Slit" to "Dock".
[chaz/openbox] / openbox / openbox.h
1 #ifndef __openbox_h
2 #define __openbox_h
3
4 #include <glib.h>
5 #include <X11/Xlib.h>
6
7 /*! The X display */
8 extern Display *ob_display;
9 /*! The number of the screen on which we're running */
10 extern int ob_screen;
11 /*! The root window */
12 extern Window ob_root;
13
14 /*! States of execution for Openbox */
15 typedef enum {
16 State_Starting,
17 State_Exiting,
18 State_Running
19 } State;
20
21 /* The state of execution of the window manager */
22 extern State ob_state;
23
24 /*! When set to true, Openbox will exit */
25 extern gboolean ob_shutdown;
26 /*! When set to true, Openbox will restart instead of shutting down */
27 extern gboolean ob_restart;
28 /*! When restarting, if this is not NULL, it will be executed instead of
29 restarting Openbox. */
30 extern char *ob_restart_path;
31
32 /*! Runtime option to specify running on a remote display */
33 extern gboolean ob_remote;
34 /*! Runtime option to run in synchronous mode */
35 extern gboolean ob_sync;
36
37 typedef struct Cursors {
38 Cursor ptr;
39 Cursor move;
40 Cursor bl;
41 Cursor br;
42 Cursor tl;
43 Cursor tr;
44 Cursor t;
45 Cursor r;
46 Cursor b;
47 Cursor l;
48 } Cursors;
49 extern Cursors ob_cursors;
50
51 /*! The path of the rc file. If NULL the default paths are searched for one. */
52 extern char *ob_rc_path;
53
54 /* cuz i have nowhere better to put it right now... */
55 gboolean ob_pointer_pos(int *x, int *y);
56
57 #endif
This page took 0.03389 seconds and 4 git commands to generate.