[client] Fix opacity focused issue
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2f513459e2
commit
76fb9906ca
2
client.c
2
client.c
|
@ -206,7 +206,7 @@ client_focus(Client *c, int screen, Bool raise)
|
|||
client_unban(c);
|
||||
/* save sel in focus history */
|
||||
focus_add_client(c);
|
||||
if(globalconf.screens[c->screen].opacity_unfocused != -1)
|
||||
if(globalconf.screens[c->screen].opacity_focused != -1)
|
||||
window_settrans(c->win, globalconf.screens[c->screen].opacity_focused);
|
||||
XSetWindowBorder(globalconf.display, c->win,
|
||||
globalconf.screens[screen].styles.focus.border.pixel);
|
||||
|
|
Loading…
Reference in New Issue