[client] Fix opacity focused issue

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-04-08 16:27:27 +02:00
parent 2f513459e2
commit 76fb9906ca
1 changed files with 1 additions and 1 deletions

View File

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