]> icculus.org git repositories - mikachu/openbox.git/blob - openbox/config.h
move the resistance plugin into the kernel. dont resist when move/resizing with the...
[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 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 /*! Show a popup dialog while cycling focus */
20 extern gboolean config_focus_popup;
21 /*! Show a popup dialog while cycling desktops */
22 extern gboolean config_desktop_popup;
23 /*! The number of slits to create 
24   extern int config_slit_number;*/
25 /*! When true windows' contents are refreshed while they are resized; otherwise
26   they are not updated until the resize is complete */
27 extern gboolean config_redraw_resize;
28
29 /*! The stacking layer the dock will reside in */
30 extern ObStackingLayer config_dock_layer;
31 /*! Is the dock floating */
32 extern gboolean config_dock_floating;
33 /*! Where to place the dock if not floating */
34 extern ObDirection config_dock_pos;
35 /*! If config_dock_floating, this is the top-left corner's
36   position */
37 extern gint config_dock_x;
38 /*! If config_dock_floating, this is the top-left corner's
39   position */
40 extern gint config_dock_y;
41 /*! Whether the dock places the dockapps in it horizontally or vertically */
42 extern ObOrientation config_dock_orient;
43 /*! Whether to auto-hide the dock when the pointer is not over it */
44 extern gboolean config_dock_hide;
45 /*! The number of milliseconds to wait before hiding the dock */
46 extern guint config_dock_hide_timeout;
47
48 /* The name of the theme */
49 char *config_theme;
50
51 /* Titlebar button layout */
52 gchar *config_title_layout;
53
54 /*! The number of desktops */
55 extern int config_desktops_num;
56 /*! Names for the desktops */
57 extern GSList *config_desktops_names;
58
59 /*! The keycode of the key combo which resets the keybaord chains */
60 guint config_keyboard_reset_keycode;
61 /*! The modifiers of the key combo which resets the keybaord chains */
62 guint config_keyboard_reset_state;
63
64 /*! Number of pixels a drag must go before being considered a drag */
65 extern gint config_mouse_threshold;
66 /*! Number of milliseconds within which 2 clicks must occur to be a
67   double-click */
68 extern gint config_mouse_dclicktime;
69
70 /*! Number of pixels to resist while crossing another window's edge */
71 gint config_resist_win;
72 /*! Number of pixels to resist while crossing a screen's edge */
73 gint config_resist_edge;
74
75 /*! User-specified path to the menu file */
76 extern gchar *config_menu_path;
77
78 void config_startup(struct _ObParseInst *i);
79 void config_shutdown();
80
81 #endif