4 #include "render/render.h"
7 # define SN_API_NOT_YET_FROZEN
14 extern RrInstance *ob_rr_inst;
17 extern Display *ob_display;
20 SnDisplay *ob_sn_display;
23 /*! The number of the screen on which we're running */
25 /*! The root window */
26 extern Window ob_root;
28 /*! States of execution for Openbox */
35 /* The state of execution of the window manager */
36 extern State ob_state;
38 /*! When set to true, Openbox will exit */
39 extern gboolean ob_shutdown;
40 /*! When set to true, Openbox will restart instead of shutting down */
41 extern gboolean ob_restart;
42 /*! When restarting, if this is not NULL, it will be executed instead of
43 restarting Openbox. */
44 extern char *ob_restart_path;
46 /*! Runtime option to specify running on a remote display */
47 extern gboolean ob_remote;
48 /*! Runtime option to run in synchronous mode */
49 extern gboolean ob_sync;
51 typedef struct Cursors {
64 extern Cursors ob_cursors;
66 /*! The path of the rc file. If NULL the default paths are searched for one. */
67 extern char *ob_rc_path;
69 /* cuz i have nowhere better to put it right now... */
70 gboolean ob_pointer_pos(int *x, int *y);