]> Dogcows Code - chaz/openbox/blob - openbox/openbox.h
add noStrut option to dock and fix up rc.xsd, some options were in the wrong section...
[chaz/openbox] / openbox / openbox.h
1 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
2
3 openbox.h for the Openbox window manager
4 Copyright (c) 2003 Ben Jansens
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 See the COPYING file for a copy of the GNU General Public License.
17 */
18
19 #ifndef __openbox_h
20 #define __openbox_h
21
22 #include "misc.h"
23
24 #include "render/render.h"
25 #include "render/theme.h"
26
27 #include <glib.h>
28 #include <X11/Xlib.h>
29
30 struct _ObMainLoop;
31
32 extern RrInstance *ob_rr_inst;
33 extern RrTheme *ob_rr_theme;
34
35 extern struct _ObMainLoop *ob_main_loop;
36
37 /*! The X display */
38 extern Display *ob_display;
39
40 /*! The number of the screen on which we're running */
41 extern gint ob_screen;
42
43 extern gchar *ob_sm_id;
44 extern gboolean ob_sm_use;
45 extern gboolean ob_replace_wm;
46
47 /* The state of execution of the window manager */
48 ObState ob_state();
49
50 void ob_restart_other(const gchar *path);
51 void ob_restart();
52 void ob_exit(gint code);
53
54 void ob_reconfigure();
55
56 void ob_exit_with_error(gchar *msg);
57
58 Cursor ob_cursor(ObCursor cursor);
59
60 KeyCode ob_keycode(ObKey key);
61
62 #endif
This page took 0.034904 seconds and 4 git commands to generate.