From ababc289d760a8f9636a0b9a3a0869658806dbd3 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 3 Jan 2008 12:14:24 +0100 Subject: [PATCH] bug fix: wrong tag tested --- focus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/focus.c b/focus.c index c19369ac5..e52ed2382 100644 --- a/focus.c +++ b/focus.c @@ -105,7 +105,7 @@ focus_get_latest_client_for_tags(Tag **t, int nindex) for(fl = globalconf.focus; fl; fl = fl->prev) if(fl->client && !fl->client->skip) for(tags = t; *tags; tags++) - if(is_client_tagged(fl->client, *t)) + if(is_client_tagged(fl->client, *tags)) { if(i == nindex) return fl->client;