remove focus_move_pointer option
This commit is contained in:
parent
e32070cffb
commit
8fc3d6b584
|
@ -333,7 +333,6 @@ screen <integer> [MULTI]
|
|||
general
|
||||
{
|
||||
border = <integer>
|
||||
focus_move_pointer = <boolean>
|
||||
font = <font>
|
||||
new_become_master = <boolean>
|
||||
new_get_focus = <boolean>
|
||||
|
|
2
config.c
2
config.c
|
@ -312,7 +312,6 @@ config_parse_screen(cfg_t *cfg, int screen)
|
|||
virtscreen->borderpx = cfg_getint(cfg_general, "border");
|
||||
virtscreen->snap = cfg_getint(cfg_general, "snap");
|
||||
virtscreen->resize_hints = cfg_getbool(cfg_general, "resize_hints");
|
||||
virtscreen->focus_move_pointer = cfg_getbool(cfg_general, "focus_move_pointer");
|
||||
virtscreen->sloppy_focus = cfg_getbool(cfg_general, "sloppy_focus");
|
||||
virtscreen->sloppy_focus_raise = cfg_getbool(cfg_general, "sloppy_focus_raise");
|
||||
virtscreen->new_become_master = cfg_getbool(cfg_general, "new_become_master");
|
||||
|
@ -441,7 +440,6 @@ config_parse(const char *confpatharg)
|
|||
CFG_INT((char *) "border", 1, CFGF_NONE),
|
||||
CFG_INT((char *) "snap", 8, CFGF_NONE),
|
||||
CFG_BOOL((char *) "resize_hints", cfg_true, CFGF_NONE),
|
||||
CFG_BOOL((char *) "focus_move_pointer", cfg_false, CFGF_NONE),
|
||||
CFG_BOOL((char *) "sloppy_focus", cfg_true, CFGF_NONE),
|
||||
CFG_BOOL((char *) "sloppy_focus_raise", cfg_true, CFGF_NONE),
|
||||
CFG_BOOL((char *) "new_become_master", cfg_true, CFGF_NONE),
|
||||
|
|
4
layout.c
4
layout.c
|
@ -146,10 +146,6 @@ restack(int screen)
|
|||
if(!globalconf.screens[screen].sloppy_focus
|
||||
|| globalconf.screens[screen].sloppy_focus_raise)
|
||||
XRaiseWindow(globalconf.display, sel->win);
|
||||
|
||||
if(globalconf.screens[screen].focus_move_pointer)
|
||||
XWarpPointer(globalconf.display, None, sel->win, 0, 0, 0, 0,
|
||||
sel->geometry.width / 2, sel->geometry.height / 2);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue