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

From: Premysl Hruby <dfenze_AT_gmail.com>
Date: Sun, 20 Apr 2008 15:54:14 +0200

On (20/04/08 15:44), yy wrote:
> To: dynamic window manager <dwm_AT_suckless.org>
> From: yy <yiyu.jgl_AT_gmail.com>
> Subject: Re: [dwm] Compile time initialization of lt and geom
>
> 2008/4/20, Premysl Hruby <dfenze_AT_gmail.com>:
> > Hi,
> >
> > both Layout *lt and Geom *geom can be initialized in compile time:
> >
>
> 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 :)

And in default config there is also comment:
        /* first entry is default */
for both geoms and layouts.

Howgh :)

-Ph
Received on Sun Apr 20 2008 - 15:54:22 UTC

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