]> Dogcows Code - chaz/openbox/blob - openbox/openbox.h
i am the king of copy/paste errors
[chaz/openbox] / 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 extern gchar *ob_sm_id;
31 extern gboolean ob_sm_use;
32 extern gboolean ob_replace_wm;
33
34 /* The state of execution of the window manager */
35 ObState ob_state();
36
37 void ob_restart_other(const gchar *path);
38 void ob_restart();
39 void ob_exit();
40
41 Cursor ob_cursor(ObCursor cursor);
42
43 KeyCode ob_keycode(ObKey key);
44
45 #endif
This page took 0.038025 seconds and 4 git commands to generate.