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

From: Premysl Hruby <dfenze_AT_gmail.com>
Date: Thu, 14 Aug 2008 12:41:30 +0200

On (14/08/08 09:52), Szabolcs Nagy wrote:
> To: dwm mail list <dwm_AT_suckless.org>
> From: Szabolcs Nagy <nszabolcs_AT_gmail.com>
> Subject: Re: [dwm] [patch] Minor code cleanup, part 2
> Reply-To: dwm mail list <dwm_AT_suckless.org>
> List-Id: dwm mail list <dwm.suckless.org>
>
> 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)
>

Applied both changes, thanks.

-Ph

-- 
Premysl "Anydot" Hruby, http://www.redrum.cz/
Received on Thu Aug 14 2008 - 10:41:30 UTC

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