> Suppose I have a client "c"
>
> I want to know whether c is the focused client. I tried:
>
> c == c.focus

You can get the client in focus by either:
1. client.focus
2. awful.client.next(0)

So, your could should (probably) be:

c == client.focus

I think that c.focus should return true/false depending on that
client's state (focussed/unfocused).

-- 
Anurag Priyam
http://about.me/yeban/

-- 
To unsubscribe, send mail to [email protected].

Reply via email to