]> Dogcows Code - chaz/openbox/blobdiff - openbox/config.h
add helper functions for manipulating the focus_order list.
[chaz/openbox] / openbox / config.h
index 9797f9e40b72bb9704a2c7bcad517d358b2304ab..27b00dd7eabe20b36c048c8659f174fc1c2ac78b 100644 (file)
@@ -3,27 +3,25 @@
 
 #include <glib.h>
 
-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
This page took 0.021826 seconds and 4 git commands to generate.