]> icculus.org git repositories - dana/openbox.git/blob - openbox/config.h
add the chainQuitKey option to teh <keyboard> section of the rc3
[dana/openbox.git] / openbox / config.h
1 #ifndef __config_h
2 #define __config_h
3
4 #include "misc.h"
5 #include "stacking.h"
6
7 #include <glib.h>
8
9 /*! Should new windows be focused */
10 extern gboolean config_focus_new;
11 /*! Focus windows when the mouse enters them */
12 extern gboolean config_focus_follow;
13 /*! Focus the last focused window as a fallback */
14 extern gboolean config_focus_last;
15 /*! Focus the last focused window as a fallback when switching desktops */
16 extern gboolean config_focus_last_on_desktop;
17 /*! Show a popup dialog while cycling focus */
18 extern gboolean config_focus_popup;
19 /*! Show a popup dialog while cycling desktops */
20 extern gboolean config_desktop_popup;
21 /*! The number of slits to create 
22   extern int config_slit_number;*/
23 /*! When true windows' contents are refreshed while they are resized; otherwise
24   they are not updated until the resize is complete */
25 extern gboolean config_redraw_resize;
26
27 /*! The stacking layer the dock will reside in */
28 extern ObStackingLayer config_dock_layer;
29 /*! Is the dock floating */
30 extern gboolean config_dock_floating;
31 /*! Where to place the dock if not floating */
32 extern ObDirection config_dock_pos;
33 /*! If config_dock_floating, this is the top-left corner's
34   position */
35 extern gint config_dock_x;
36 /*! If config_dock_floating, this is the top-left corner's
37   position */
38 extern gint config_dock_y;
39 /*! Whether the dock places the dockapps in it horizontally or vertically */
40 extern ObOrientation config_dock_orient;
41 /*! Whether to auto-hide the dock when the pointer is not over it */
42 extern gboolean config_dock_hide;
43 /*! The number of milliseconds to wait before hiding the dock */
44 extern guint config_dock_hide_timeout;
45
46 /* The name of the theme */
47 char *config_theme;
48
49 /* Titlebar button layout */
50 gchar *config_title_layout;
51
52 /*! The number of desktops */
53 extern int config_desktops_num;
54 /*! Names for the desktops */
55 extern GSList *config_desktops_names;
56
57 /*! The keycode of the key combo which resets the keybaord chains */
58 guint config_keyboard_reset_keycode;
59 /*! The modifiers of the key combo which resets the keybaord chains */
60 guint config_keyboard_reset_state;
61
62 /*! Number of pixels a drag must go before being considered a drag */
63 extern gint config_mouse_threshold;
64 /*! Number of milliseconds within which 2 clicks must occur to be a
65   double-click */
66 extern gint config_mouse_dclicktime;
67
68 void config_startup();
69 void config_shutdown();
70
71 #endif