]> Dogcows Code - chaz/openbox/blob - openbox/config.h
added smart placement
[chaz/openbox] / 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 struct _ObParseInst;
10
11 /*! Should new windows be focused */
12 extern gboolean config_focus_new;
13 /*! Focus windows when the mouse enters them */
14 extern gboolean config_focus_follow;
15 /*! Focus the last focused window as a fallback */
16 extern gboolean config_focus_last;
17 /*! Focus the last focused window as a fallback when switching desktops */
18 extern gboolean config_focus_last_on_desktop;
19 /*! Timeout for focusing windows on focus follows mouse, in microseconds */
20 extern guint config_focus_delay;
21
22 /*! When true windows' contents are refreshed while they are resized; otherwise
23 they are not updated until the resize is complete */
24 extern gboolean config_redraw_resize;
25
26 /*! The stacking layer the dock will reside in */
27 extern ObStackingLayer config_dock_layer;
28 /*! Is the dock floating */
29 extern gboolean config_dock_floating;
30 /*! Where to place the dock if not floating */
31 extern ObDirection config_dock_pos;
32 /*! If config_dock_floating, this is the top-left corner's
33 position */
34 extern gint config_dock_x;
35 /*! If config_dock_floating, this is the top-left corner's
36 position */
37 extern gint config_dock_y;
38 /*! Whether the dock places the dockapps in it horizontally or vertically */
39 extern ObOrientation config_dock_orient;
40 /*! Whether to auto-hide the dock when the pointer is not over it */
41 extern gboolean config_dock_hide;
42 /*! The number of microseconds to wait before hiding the dock */
43 extern guint config_dock_hide_timeout;
44
45 /* The name of the theme */
46 extern char *config_theme;
47
48 /* Titlebar button layout */
49 extern gchar *config_title_layout;
50
51 /*! The number of desktops */
52 extern int config_desktops_num;
53 /*! Names for the desktops */
54 extern GSList *config_desktops_names;
55
56 /*! The keycode of the key combo which resets the keybaord chains */
57 extern guint config_keyboard_reset_keycode;
58 /*! The modifiers of the key combo which resets the keybaord chains */
59 extern guint config_keyboard_reset_state;
60
61 /*! Number of pixels a drag must go before being considered a drag */
62 extern gint config_mouse_threshold;
63 /*! Number of milliseconds within which 2 clicks must occur to be a
64 double-click */
65 extern gint config_mouse_dclicktime;
66
67 /*! Number of pixels to resist while crossing another window's edge */
68 extern gint config_resist_win;
69 /*! Number of pixels to resist while crossing a screen's edge */
70 extern gint config_resist_edge;
71
72 /*! User-specified menu files */
73 extern GSList *config_menu_files;
74
75 void config_startup(struct _ObParseInst *i);
76 void config_shutdown();
77
78 #endif
This page took 0.040875 seconds and 4 git commands to generate.