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

From: Szabolcs Nagy <nszabolcs_AT_gmail.com>
Date: Thu, 14 Aug 2008 16:21:39 +0200

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
Received on Thu Aug 14 2008 - 14:21:39 UTC

This archive was generated by hypermail 2.2.0 : Thu Aug 14 2008 - 14:24:04 UTC