parent
7073133e66
commit
5ade4d63e0
|
@ -334,7 +334,6 @@ screen <integer> [MULTI]
|
||||||
font = <font>
|
font = <font>
|
||||||
new_become_master = <boolean>
|
new_become_master = <boolean>
|
||||||
new_get_focus = <boolean>
|
new_get_focus = <boolean>
|
||||||
opacity_unfocused = <integer>
|
|
||||||
resize_hints = <boolean>
|
resize_hints = <boolean>
|
||||||
sloppy_focus = <boolean>
|
sloppy_focus = <boolean>
|
||||||
snap = <integer>
|
snap = <integer>
|
||||||
|
|
7
client.c
7
client.c
|
@ -172,8 +172,6 @@ focus(Client *c, Bool selscreen, int screen)
|
||||||
globalconf.focus->client->win, False, True);
|
globalconf.focus->client->win, False, True);
|
||||||
XSetWindowBorder(globalconf.display, globalconf.focus->client->win,
|
XSetWindowBorder(globalconf.display, globalconf.focus->client->win,
|
||||||
globalconf.screens[screen].colors_normal[ColBorder].pixel);
|
globalconf.screens[screen].colors_normal[ColBorder].pixel);
|
||||||
window_settrans(globalconf.focus->client->win,
|
|
||||||
globalconf.screens[screen].opacity_unfocused);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -203,11 +201,6 @@ focus(Client *c, Bool selscreen, int screen)
|
||||||
widget_invalidate_cache(screen, WIDGET_CACHE_CLIENTS);
|
widget_invalidate_cache(screen, WIDGET_CACHE_CLIENTS);
|
||||||
XSetInputFocus(globalconf.display,
|
XSetInputFocus(globalconf.display,
|
||||||
globalconf.focus->client->win, RevertToPointerRoot, CurrentTime);
|
globalconf.focus->client->win, RevertToPointerRoot, CurrentTime);
|
||||||
for(c = globalconf.clients; c; c = c->next)
|
|
||||||
if(c != globalconf.focus->client)
|
|
||||||
window_settrans(globalconf.focus->client->win,
|
|
||||||
globalconf.screens[screen].opacity_unfocused);
|
|
||||||
window_settrans(globalconf.focus->client->win, -1);
|
|
||||||
restack(screen);
|
restack(screen);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
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->borderpx = cfg_getint(cfg_general, "border");
|
||||||
virtscreen->snap = cfg_getint(cfg_general, "snap");
|
virtscreen->snap = cfg_getint(cfg_general, "snap");
|
||||||
virtscreen->resize_hints = cfg_getbool(cfg_general, "resize_hints");
|
virtscreen->resize_hints = cfg_getbool(cfg_general, "resize_hints");
|
||||||
virtscreen->opacity_unfocused = cfg_getint(cfg_general, "opacity_unfocused");
|
|
||||||
virtscreen->focus_move_pointer = cfg_getbool(cfg_general, "focus_move_pointer");
|
virtscreen->focus_move_pointer = cfg_getbool(cfg_general, "focus_move_pointer");
|
||||||
virtscreen->allow_lower_floats = cfg_getbool(cfg_general, "allow_lower_floats");
|
virtscreen->allow_lower_floats = cfg_getbool(cfg_general, "allow_lower_floats");
|
||||||
virtscreen->sloppy_focus = cfg_getbool(cfg_general, "sloppy_focus");
|
virtscreen->sloppy_focus = cfg_getbool(cfg_general, "sloppy_focus");
|
||||||
|
@ -442,7 +441,6 @@ config_parse(const char *confpatharg)
|
||||||
CFG_INT((char *) "border", 1, CFGF_NONE),
|
CFG_INT((char *) "border", 1, CFGF_NONE),
|
||||||
CFG_INT((char *) "snap", 8, CFGF_NONE),
|
CFG_INT((char *) "snap", 8, CFGF_NONE),
|
||||||
CFG_BOOL((char *) "resize_hints", cfg_true, CFGF_NONE),
|
CFG_BOOL((char *) "resize_hints", cfg_true, CFGF_NONE),
|
||||||
CFG_INT((char *) "opacity_unfocused", 100, CFGF_NONE),
|
|
||||||
CFG_BOOL((char *) "focus_move_pointer", cfg_false, CFGF_NONE),
|
CFG_BOOL((char *) "focus_move_pointer", cfg_false, CFGF_NONE),
|
||||||
CFG_BOOL((char *) "allow_lower_floats", cfg_false, CFGF_NONE),
|
CFG_BOOL((char *) "allow_lower_floats", cfg_false, CFGF_NONE),
|
||||||
CFG_BOOL((char *) "sloppy_focus", cfg_true, CFGF_NONE),
|
CFG_BOOL((char *) "sloppy_focus", cfg_true, CFGF_NONE),
|
||||||
|
|
|
@ -258,8 +258,6 @@ typedef struct
|
||||||
int snap;
|
int snap;
|
||||||
/** Border size */
|
/** Border size */
|
||||||
int borderpx;
|
int borderpx;
|
||||||
/** Transparency of unfocused clients */
|
|
||||||
int opacity_unfocused;
|
|
||||||
/** Focus move pointer */
|
/** Focus move pointer */
|
||||||
Bool focus_move_pointer;
|
Bool focus_move_pointer;
|
||||||
/** Allow floats to be lowered on focus change */
|
/** Allow floats to be lowered on focus change */
|
||||||
|
|
Loading…
Reference in New Issue