6 #include "render/render.h"
7 #include "render/theme.h"
10 # define SN_API_NOT_YET_FROZEN
11 # include <libsn/sn.h>
17 extern RrInstance *ob_rr_inst;
18 extern RrTheme *ob_rr_theme;
21 extern Display *ob_display;
24 SnDisplay *ob_sn_display;
27 /*! The number of the screen on which we're running */
29 /*! The root window */
30 extern Window ob_root;
32 /* The state of execution of the window manager */
33 extern ObState ob_state;
35 /*! When set to true, Openbox will exit */
36 extern gboolean ob_shutdown;
37 /*! When set to true, Openbox will restart instead of shutting down */
38 extern gboolean ob_restart;
39 /*! When restarting, if this is not NULL, it will be executed instead of
40 restarting Openbox. */
41 extern char *ob_restart_path;
43 /*! Runtime option to specify running on a remote display */
44 extern gboolean ob_remote;
45 /*! Runtime option to run in synchronous mode */
46 extern gboolean ob_sync;
48 /*! The path of the rc file. If NULL the default paths are searched for one. */
49 extern char *ob_rc_path;
51 Cursor ob_cursor(ObCursor cursor);
53 KeyCode ob_keycode(ObKey key);
55 /* cuz i have nowhere better to put it right now... */
56 gboolean ob_pointer_pos(int *x, int *y);