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

From: <dfenze_AT_gmail.com>
Date: Fri, 25 May 2007 15:05:05 +0200

On (23/05/07 07:48), Anselm R. Garbe wrote:
> Ah yes, I remember this decision now, I revert the change.
>
> Regards,

Ok,
        then please include this patch:

=================
diff -r 42bf8e618d52 client.c
--- a/client.c Tue May 22 11:29:59 2007 +0200
+++ b/client.c Wed May 23 13:22:20 2007 +0200
@@ -305,6 +305,8 @@ togglefloating(const char *arg) {
         if(!sel || lt->arrange == floating)
                 return;
         sel->isfloating = !sel->isfloating;
+ if (sel->isfloating && sel->isfixed)
+ resize(sel, sel->x, sel->y, sel->minw, sel->minh, True);
         lt->arrange();
 }

=================

So, if fixed client is forced to be non-floating, then if it is switched
back to floating, its fixed dimensions are forced.

--anydot
Received on Fri May 25 2007 - 15:05:14 UTC

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