1 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
3 openbox.h for the Openbox window manager
4 Copyright (c) 2003-2007 Dana Jansens
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.
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.
16 See the COPYING file for a copy of the GNU General Public License.
24 #include "render/render.h"
25 #include "render/theme.h"
32 extern RrInstance
*ob_rr_inst
;
33 extern RrTheme
*ob_rr_theme
;
35 extern struct _ObMainLoop
*ob_main_loop
;
38 extern Display
*ob_display
;
40 /*! The number of the screen on which we're running */
41 extern gint ob_screen
;
43 extern gboolean ob_sm_use
;
44 extern gchar
*ob_sm_id
;
45 /* This save_file will get pass to ourselves if we restart too! So we won't
46 make a new file every time, yay. */
47 extern gchar
*ob_sm_save_file
;
48 extern gboolean ob_sm_restore
;
49 extern gboolean ob_replace_wm
;
50 extern gboolean ob_debug_xinerama
;
52 /* The state of execution of the window manager */
55 void ob_restart_other(const gchar
*path
);
57 void ob_exit(gint code
);
58 void ob_exit_replace();
60 void ob_reconfigure();
62 void ob_exit_with_error(const gchar
*msg
);
64 Cursor
ob_cursor(ObCursor cursor
);
66 KeyCode
ob_keycode(ObKey key
);