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