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

From: Szabolcs Nagy <nszabolcs_AT_gmail.com>
Date: Thu, 14 Aug 2008 09:52:09 +0200

On 8/14/08, Martin Hurton <martin.hurton_AT_gmail.com> wrote:
> if((rettrans = XGetTransientForHint(dpy, w, &trans) == Success))
> - for(t = clients; t && t->win != trans; t = t->next);
> + t = getclient(trans);
nice

what about
- if((rettrans = XGetTransientForHint(dpy, w, &trans) == Success))
+ if((rettrans = XGetTransientForHint(dpy, w, &trans)) == Success)
Received on Thu Aug 14 2008 - 07:52:09 UTC

This archive was generated by hypermail 2.2.0 : Thu Aug 14 2008 - 08:00:05 UTC