]> icculus.org git repositories - mikachu/openbox.git/blob - openbox/config.h
move the titlebar layout from the theme to the rc file
[mikachu/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 /*! 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 ObStackingLayer config_dock_layer;
30 /*! Is the dock floating */
31 extern gboolean config_dock_floating;
32 /*! Where to place the dock if not floating */
33 extern ObDirection config_dock_pos;
34 /*! If config_dock_floating, this is the top-left corner's
35   position */
36 extern gint config_dock_x;
37 /*! If config_dock_floating, this is the top-left corner's
38   position */
39 extern gint config_dock_y;
40 /*! Whether the dock places the dockapps in it horizontally or vertically */
41 extern ObOrientation config_dock_orient;
42 /*! Whether to auto-hide the dock when the pointer is not over it */
43 extern gboolean config_dock_hide;
44 /*! The number of milliseconds to wait before hiding the dock */
45 extern guint config_dock_hide_timeout;
46
47 /* The name of the theme */
48 char *config_theme;
49
50 /* Titlebar button layout */
51 gchar *config_title_layout;
52
53 /*! The number of desktops */
54 extern int config_desktops_num;
55 /*! Names for the desktops */
56 extern GSList *config_desktops_names;
57
58
59 void config_startup();
60 void config_shutdown();
61
62 #endif