]> icculus.org git repositories - dana/openbox.git/blob - openbox/openbox.h
remove the ob_root var, its redundant of what Xlib already provides
[dana/openbox.git] / openbox / openbox.h
1 #ifndef __openbox_h
2 #define __openbox_h
3
4 #include "misc.h"
5
6 #include "render/render.h"
7 #include "render/theme.h"
8
9 #ifdef USE_LIBSN
10 #  define SN_API_NOT_YET_FROZEN
11 #  include <libsn/sn.h>
12 #endif
13
14 #include <glib.h>
15 #include <X11/Xlib.h>
16
17 extern RrInstance *ob_rr_inst;
18 extern RrTheme    *ob_rr_theme;
19
20 /*! The X display */
21 extern Display *ob_display; 
22
23 #ifdef USE_LIBSN
24 SnDisplay *ob_sn_display;
25 #endif
26
27 /*! The number of the screen on which we're running */
28 extern gint     ob_screen;
29
30 /* The state of execution of the window manager */
31 extern ObState ob_state;
32
33 void ob_restart_other(const gchar *path);
34 void ob_restart();
35 void ob_exit();
36
37 Cursor ob_cursor(ObCursor cursor);
38
39 KeyCode ob_keycode(ObKey key);
40
41 /* cuz i have nowhere better to put it right now... */
42 gboolean ob_pointer_pos(int *x, int *y);
43
44 #endif