Re: [dwm] fixed windows must be always floating - error+patch

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed, 23 May 2007 07:47:41 +0200

Thanks, applied.

Anselm

On Wed, May 23, 2007 at 12:18:07AM +0200, Premysl anydot Hruby wrote:
> as $subj says, there is error as on fixed window the isfloating can be
> turned off.
>
> Patch:
> ===========================
> diff -r 42bf8e618d52 client.c
> --- a/client.c Tue May 22 11:29:59 2007 +0200
> +++ b/client.c Tue May 22 23:55:31 2007 +0200
> @@ -304,7 +304,7 @@ togglefloating(const char *arg) {
> togglefloating(const char *arg) {
> if(!sel || lt->arrange == floating)
> return;
> - sel->isfloating = !sel->isfloating;
> + sel->isfloating = !sel->isfloating || sel->isfixed;
> lt->arrange();
> }
> ===========================
>
> with this patch, isfloating for fixed window can't be turned off
>
> --anydot

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Wed May 23 2007 - 07:47:41 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:42:17 UTC