add the plugin_setup_config function
This commit is contained in:
parent
fdf4265a13
commit
80c7f14520
5 changed files with 32 additions and 0 deletions
|
@ -5,6 +5,22 @@
|
||||||
#include "../kernel/focus.h"
|
#include "../kernel/focus.h"
|
||||||
#include "../kernel/stacking.h"
|
#include "../kernel/stacking.h"
|
||||||
#include "../kernel/openbox.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 */
|
/* config options */
|
||||||
static gboolean follow_mouse = TRUE;
|
static gboolean follow_mouse = TRUE;
|
||||||
|
|
|
@ -7,6 +7,10 @@
|
||||||
#include "keyboard.h"
|
#include "keyboard.h"
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
|
void plugin_setup_config()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
KeyBindingTree *firstnode;
|
KeyBindingTree *firstnode;
|
||||||
|
|
||||||
static KeyBindingTree *curpos;
|
static KeyBindingTree *curpos;
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
#include "mouse.h"
|
#include "mouse.h"
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
|
void plugin_setup_config()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
static int drag_threshold = 3;
|
static int drag_threshold = 3;
|
||||||
|
|
||||||
/* GData of GSList*s of PointerBinding*s. */
|
/* GData of GSList*s of PointerBinding*s. */
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
|
|
||||||
gboolean history = TRUE;
|
gboolean history = TRUE;
|
||||||
|
|
||||||
|
void plugin_setup_config()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
static void place_random(Client *c)
|
static void place_random(Client *c)
|
||||||
{
|
{
|
||||||
int l, r, t, b;
|
int l, r, t, b;
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
#include "../kernel/screen.h"
|
#include "../kernel/screen.h"
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
|
void plugin_setup_config()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
static int resistance = 10;
|
static int resistance = 10;
|
||||||
static gboolean window_resistance = TRUE; /* window-to-window */
|
static gboolean window_resistance = TRUE; /* window-to-window */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue