X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fconfig.h;h=27b00dd7eabe20b36c048c8659f174fc1c2ac78b;hb=92d3f2342db3d3bfd5d41a6c3dc165efa7766ffa;hp=9797f9e40b72bb9704a2c7bcad517d358b2304ab;hpb=56dc0446cd8a9a2685e1ffadb58b781e52e1a95a;p=chaz%2Fopenbox diff --git a/openbox/config.h b/openbox/config.h index 9797f9e4..27b00dd7 100644 --- a/openbox/config.h +++ b/openbox/config.h @@ -3,27 +3,25 @@ #include -typedef enum { - Config_String, - Config_Integer -} ConfigValueType; +/*! Should new windows be focused */ +extern gboolean config_focus_new; +/*! Focus windows when the mouse enters them */ +extern gboolean config_focus_follow; +/*! Focus the last focused window as a fallback */ +extern gboolean config_focus_last; +/*! Focus the last focused window as a fallback when switching desktops */ +extern gboolean config_focus_last_on_desktop; -typedef union { - char *string; - int integer; -} ConfigValue; +/* The name of the theme */ +char *config_theme; + +/*! The number of desktops */ +extern int config_desktops_num; +/*! Names for the desktops */ +extern GSList *config_desktops_names; -typedef struct { - char *name; - ConfigValueType type; - ConfigValue value; -} ConfigEntry; void config_startup(); void config_shutdown(); -gboolean config_set(char *name, ConfigValueType type, ConfigValue value); - -void config_parse(); - #endif