]> icculus.org git repositories - dana/openbox.git/blob - openbox/openbox.h
add the NONE cursor.
[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 #include <glib.h>
10 #include <X11/Xlib.h>
11
12 struct _ObMainLoop;
13
14 extern RrInstance *ob_rr_inst;
15 extern RrTheme    *ob_rr_theme;
16
17 extern struct _ObMainLoop *ob_main_loop;
18
19 /*! The X display */
20 extern Display *ob_display; 
21
22 /*! The number of the screen on which we're running */
23 extern gint     ob_screen;
24
25 extern gchar   *ob_sm_id;
26 extern gboolean ob_sm_use;
27 extern gboolean ob_replace_wm;
28
29 /* The state of execution of the window manager */
30 ObState ob_state();
31
32 void ob_restart_other(const gchar *path);
33 void ob_restart();
34 void ob_exit();
35
36 void ob_reconfigure();
37
38 void ob_exit_with_error(gchar *msg);
39
40 Cursor ob_cursor(ObCursor cursor);
41
42 KeyCode ob_keycode(ObKey key);
43
44 gchar *ob_expand_tilde(const gchar *f);
45
46 #endif