]> Dogcows Code - chaz/openbox/blob - c/openbox.h
34160c8ed2defbc75a82228a87fd24adb2dda3a9
[chaz/openbox] / 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
This page took 0.039141 seconds and 4 git commands to generate.