remove focus_move_pointer option

This commit is contained in:
Julien Danjou 2008-01-25 23:28:55 +01:00
parent e32070cffb
commit 8fc3d6b584
4 changed files with 0 additions and 9 deletions

View File

@ -333,7 +333,6 @@ screen <integer> [MULTI]
general
{
border = <integer>
focus_move_pointer = <boolean>
font = <font>
new_become_master = <boolean>
new_get_focus = <boolean>

View File

@ -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),

View File

@ -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

View File

@ -258,8 +258,6 @@ typedef struct
int snap;
/** Border size */
int borderpx;
/** Focus move pointer */
Bool focus_move_pointer;
/** Respect resize hints */
Bool resize_hints;
/** Sloppy focus: focus follow mouse */