Focus has prio over urgent in titlebar style drawing

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-25 19:07:25 +01:00
parent 7605585aee
commit 3514982955
1 changed files with 3 additions and 3 deletions

View File

@ -199,10 +199,10 @@ titlebar_update(Client *c)
} }
if(c->isurgent) if(globalconf.focus->client == c)
style = c->titlebar.styles.urgent;
else if(globalconf.focus->client == c)
style = c->titlebar.styles.focus; style = c->titlebar.styles.focus;
else if(c->isurgent)
style = c->titlebar.styles.urgent;
else else
style = c->titlebar.styles.normal; style = c->titlebar.styles.normal;