diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-23 19:42:47 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-23 19:42:47 +0000 |
| commit | 80c7f14520694771c08b9564487ba65e7dadd75e (patch) | |
| tree | f018e8506d952b8f560ee0c1448751605e7fd44d /plugins/focus.c | |
| parent | fdf4265a13f5aacc87b4bdf7ae851505eff780a6 (diff) | |
add the plugin_setup_config function
Diffstat (limited to 'plugins/focus.c')
| -rw-r--r-- | plugins/focus.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/focus.c b/plugins/focus.c index 85d4f044..ff2e1e21 100644 --- a/plugins/focus.c +++ b/plugins/focus.c @@ -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; |
