]> icculus.org git repositories - mikachu/openbox.git/blob - openbox/config.h
rename poorly named offsets
[mikachu/openbox.git] / openbox / config.h
1 #ifndef __config_h
2 #define __config_h
3
4 #include "dock.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 /*! The number of slits to create 
20   extern int config_slit_number;*/
21 /*! When true windows are moved opaquely, when false just an outline is shown
22   while they are moved */
23 extern gboolean config_opaque_move;
24 /*! When true windows are resize opaquely, when false just an outline is shown
25   while they are resize */
26 extern gboolean config_opaque_resize;
27
28 /*! The stacking layer the dock will reside in */
29 extern StackLayer config_dock_layer;
30 /*! The position at which to place the dock */
31 extern DockPosition config_dock_pos;
32 /*! If config_dock_pos is DockPos_Floating, this is the top-left corner's
33   position */
34 extern int config_dock_x;
35 /*! If config_dock_pos is DockPos_Floating, this is the top-left corner's
36   position */
37 extern int config_dock_y;
38 /*! Whether the dock places the dockapps in it horizontally or vertically */
39 extern gboolean config_dock_horz;
40 /*! Whether to auto-hide the dock when the pointer is not over it */
41 extern gboolean config_dock_hide;
42 /*! The number of milliseconds to wait before hiding the dock */
43 extern guint config_dock_hide_timeout;
44
45 /* The name of the theme */
46 char *config_theme;
47
48 /*! The number of desktops */
49 extern int config_desktops_num;
50 /*! Names for the desktops */
51 extern GSList *config_desktops_names;
52
53
54 void config_startup();
55 void config_shutdown();
56
57 #endif