Re: [dwm] Yet another simplification, this time sel/prevtags

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Sun, 20 Apr 2008 19:37:04 +0200

On Sun, Apr 20, 2008 at 06:05:50PM +0200, Premysl Hruby wrote:
> attached patch makes one array for both sel and prevtags. So there is
> no need to swap them in memory in view() as we only change seltags
> pointer to point viewtags[0] or viewtags[1].
>
> It also with little change can support arbitrary number of saved tags
> set (3 save position can be usable, with modkey-shift-tab going on
> "next" state in queue).

I like this solution and applied it with a slightly changed
order of variable declarations. I intend to declare the variables
in groups of same types.

Kind regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Sun Apr 20 2008 - 19:37:04 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:34:40 UTC