Re: [dwm] [patch] Minor code cleanup, part 2

From: Martin Hurton <martin.hurton_AT_gmail.com>
Date: Thu, 14 Aug 2008 16:53:04 +0200

On Thu, Aug 14, 2008 at 04:21:39PM +0200, Szabolcs Nagy wrote:
> On 8/14/08, Martin Hurton <martin.hurton_AT_gmail.com> wrote:
> > Can you apply the following patch too? According to spec the
> > XGetTransientForHint() function returns non zero value on success
> > while the Success value is defined as zero (see /usr/include/X11/X.h).
>
> I'm not quite sure about this change.
>
> eg. X reference manual never states explicitly that GrabSuccess is 0
> (even though if one reads the X protocol specification he can *guess*
> that it should be 0) so the programmer shouldn't rely on this.
>
> but if it's changed then change consistently:
> $ grep Success dwm.c |wc -l
> 6
Those other checks seems ok to me.

/Martin
Received on Thu Aug 14 2008 - 14:53:04 UTC

This archive was generated by hypermail 2.2.0 : Thu Aug 14 2008 - 15:00:10 UTC