]> icculus.org git repositories - mikachu/openbox.git/blob - c/openbox.h
merge the C branch into HEAD
[mikachu/openbox.git] / c / openbox.h
1 #ifndef __openbox_h
2 #define __openbox_h
3
4 #include "obexport.h"
5 #include <glib.h>
6 #include <X11/Xlib.h>
7
8 /*! The X display */
9 extern Display *ob_display; 
10 /*! The number of the screen on which we're running */
11 extern int      ob_screen;
12 /*! The root window */
13 extern Window   ob_root;
14
15 /* The state of execution of the window manager */
16 State ob_state;
17
18 /*! When set to true, Openbox will exit */
19 extern gboolean ob_shutdown;
20 /*! When set to true, Openbox will restart instead of shutting down */
21 extern gboolean ob_restart;
22
23 /*! Runtime option to specify running on a remote display */
24 extern gboolean ob_remote;
25 /*! Runtime option to run in synchronous mode */
26 extern gboolean ob_sync;
27
28 typedef struct Cursors {
29     Cursor left_ptr;
30     Cursor ll_angle;
31     Cursor lr_angle;
32 } Cursors;
33 Cursors ob_cursors;
34
35 #endif