5 # define SN_API_NOT_YET_FROZEN
13 extern Display *ob_display;
16 SnDisplay *ob_sn_display;
19 /*! The number of the screen on which we're running */
21 /*! The root window */
22 extern Window ob_root;
25 extern struct RrInstance *ob_render_inst;
27 /*! States of execution for Openbox */
34 /* The state of execution of the window manager */
35 extern State ob_state;
37 /*! When set to true, Openbox will exit */
38 extern gboolean ob_shutdown;
39 /*! When set to true, Openbox will restart instead of shutting down */
40 extern gboolean ob_restart;
41 /*! When restarting, if this is not NULL, it will be executed instead of
42 restarting Openbox. */
43 extern char *ob_restart_path;
45 /*! Runtime option to specify running on a remote display */
46 extern gboolean ob_remote;
47 /*! Runtime option to run in synchronous mode */
48 extern gboolean ob_sync;
50 typedef struct Cursors {
63 extern Cursors ob_cursors;
65 /*! The path of the rc file. If NULL the default paths are searched for one. */
66 extern char *ob_rc_path;
68 /* cuz i have nowhere better to put it right now... */
69 gboolean ob_pointer_pos(int *x, int *y);