Re: [dwm] Compile time initialization of lt and geom

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

On Sun, Apr 20, 2008 at 03:54:14PM +0200, Premysl Hruby wrote:
> On (20/04/08 15:44), yy wrote:
> > They are initialized to NULL before, so that you can access to them
> > from any function you include in config.h. Though I'm not sure anybody
> > is actually using it...
>
> There is no reason to access lt and geom directly from configuration, as
> they are both latter reinitialized in setup(). So even if you modify lt
> and geoms in config.h you lost this changes :)

Having them accessible from extensions was primary for
lt->arrange checks, not for manipulation. But let's see if
someone complains ;)

Kind regards,

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

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