From 3514982955a5e237c994c5435767288d04e6eee8 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 25 Mar 2008 19:07:25 +0100 Subject: [PATCH] Focus has prio over urgent in titlebar style drawing Signed-off-by: Julien Danjou --- titlebar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/titlebar.c b/titlebar.c index b2459fa4e..bfbe076f6 100644 --- a/titlebar.c +++ b/titlebar.c @@ -199,10 +199,10 @@ titlebar_update(Client *c) } - if(c->isurgent) - style = c->titlebar.styles.urgent; - else if(globalconf.focus->client == c) + if(globalconf.focus->client == c) style = c->titlebar.styles.focus; + else if(c->isurgent) + style = c->titlebar.styles.urgent; else style = c->titlebar.styles.normal;