Remove transparency prop on focus

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-19 15:04:43 +01:00
parent 4516bfcf3a
commit a734c7dd5d
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ client_focus(Client *c, int screen, Bool raise)
/* save sel in focus history */ /* save sel in focus history */
focus_add_client(c); focus_add_client(c);
if(globalconf.screens[c->screen].opacity_unfocused != -1) if(globalconf.screens[c->screen].opacity_unfocused != -1)
window_settrans(c->win, globalconf.screens[screen].opacity_unfocused); window_settrans(c->win, -1);
XSetWindowBorder(globalconf.display, c->win, XSetWindowBorder(globalconf.display, c->win,
globalconf.screens[screen].colors_selected[ColBorder].pixel); globalconf.screens[screen].colors_selected[ColBorder].pixel);
XSetInputFocus(globalconf.display, c->win, RevertToPointerRoot, CurrentTime); XSetInputFocus(globalconf.display, c->win, RevertToPointerRoot, CurrentTime);