>
> if((c = sel) == nexttiled(clients))
> if(!(c = nexttiled(c->next)))
> return;
|This code sets c to the top client in the stack, if the selected
|client (sel) is zoomed and tiled. It is executed whenever zoom()
|is called on a zoom()'ed tiled client.
|
|nexttiled(clients) returns the first tiled client (which
|appears in the master).
I was more making the point that the first time I encountered this I didn't figure out what it was doing
until I'd "run it by hand" on various possible client lists,
being particuarly careful in noting which changes to c propagated into the surrounding
block.
Regards,
--
Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361
___________________________________________________________
All New Yahoo! Mail – Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
Received on Sun Nov 26 2006 - 11:00:30 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:32:45 UTC