]> Dogcows Code - chaz/openbox/blobdiff - plugins/focus.c
make the labels one bigger than the text on the top and bottom
[chaz/openbox] / plugins / focus.c
index 85d4f04439cad63c9b1f458e30faf682a96739a2..ff2e1e2137a238f4a51699c87896d273e93d6c85 100644 (file)
@@ -5,6 +5,22 @@
 #include "../kernel/focus.h"
 #include "../kernel/stacking.h"
 #include "../kernel/openbox.h"
+#include "../kernel/config.h"
+
+void plugin_setup_config()
+{
+    config_def_set(config_def_new("focus.followMouse", Config_Bool,
+                                  "Focus Follows Mouse",
+                                  "Focus windows when the mouse pointer "
+                                  "enters them."));
+    config_def_set(config_def_new("focus.focusNew", Config_Bool,
+                                  "Focus New Windows",
+                                  "Focus windows when they first appear "));
+    config_def_set(config_def_new("focus.warpOnDeskSwitch", Config_Bool,
+                                  "Warp Pointer On Desktop Switch",
+                                  "Warps the pointer to the focused window "
+                                  "when switching desktops."));
+}
 
 /* config options */
 static gboolean follow_mouse = TRUE;
This page took 0.021806 seconds and 4 git commands to generate.