remove opacity_unfocused

this is crap
This commit is contained in:
Julien Danjou 2008-01-24 23:45:04 +01:00
parent 7073133e66
commit 5ade4d63e0
4 changed files with 0 additions and 12 deletions

View File

@ -334,7 +334,6 @@ screen <integer> [MULTI]
font = <font>
new_become_master = <boolean>
new_get_focus = <boolean>
opacity_unfocused = <integer>
resize_hints = <boolean>
sloppy_focus = <boolean>
snap = <integer>

View File

@ -172,8 +172,6 @@ focus(Client *c, Bool selscreen, int screen)
globalconf.focus->client->win, False, True);
XSetWindowBorder(globalconf.display, globalconf.focus->client->win,
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);
XSetInputFocus(globalconf.display,
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);
}
else

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->opacity_unfocused = cfg_getint(cfg_general, "opacity_unfocused");
virtscreen->focus_move_pointer = cfg_getbool(cfg_general, "focus_move_pointer");
virtscreen->allow_lower_floats = cfg_getbool(cfg_general, "allow_lower_floats");
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 *) "snap", 8, 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 *) "allow_lower_floats", cfg_false, CFGF_NONE),
CFG_BOOL((char *) "sloppy_focus", cfg_true, CFGF_NONE),

View File

@ -258,8 +258,6 @@ typedef struct
int snap;
/** Border size */
int borderpx;
/** Transparency of unfocused clients */
int opacity_unfocused;
/** Focus move pointer */
Bool focus_move_pointer;
/** Allow floats to be lowered on focus change */