]> Dogcows Code - chaz/openbox/blob - openbox/openbox.h
add engine options to the new rc file
[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 left_ptr;
39 Cursor ll_angle;
40 Cursor lr_angle;
41 } Cursors;
42 extern Cursors ob_cursors;
43
44 /*! The path of the rc file. If NULL the default paths are searched for one. */
45 extern char *ob_rc_path;
46
47 #endif
This page took 0.034935 seconds and 4 git commands to generate.