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

From: Premysl \ <dfenze_AT_gmail.com>
Date: Wed, 23 May 2007 00:18:07 +0200

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
Received on Wed May 23 2007 - 00:18:09 UTC

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