Re: [dwm] [patch] Minor code cleanup

From: Martin Hurton <martin.hurton_AT_gmail.com>
Date: Wed, 13 Aug 2008 17:10:59 +0200

On Wed, Aug 13, 2008 at 04:43:46PM +0200, Premysl Hruby wrote:
> On (13/08/08 16:21), Enno Gottox Boland wrote:
> > To: dwm mail list <dwm_AT_suckless.org>
> > From: Enno Gottox Boland <gottox_AT_gmail.com>
> > Subject: Re: [dwm] [patch] Minor code cleanup
> > Reply-To: dwm mail list <dwm_AT_suckless.org>
> > List-Id: dwm mail list <dwm.suckless.org>
> >
> > Hi!
> >
> > 2008/8/13, Martin Hurton <martin.hurton_AT_gmail.com>:
> > > Can arg really ever be NULL?
> > no, that should not be possible anymore. the patch is ok so far.
> > > Cheers,
> >
> > regards
> > Gottox
> >
>
> But that is NOT true, actually view() is called with NULL param, for
> "select previously selected view" function: (excerpt from tip's
> config.def.h)
>
> { MODKEY, XK_Tab, view, {0} },

That zero does not mean NULL pointer; it is there to initialize the
Arg structure.

/Martin
Received on Wed Aug 13 2008 - 15:10:59 UTC

This archive was generated by hypermail 2.2.0 : Wed Aug 13 2008 - 15:12:04 UTC