Sfoglia il codice sorgente

applied Sanders patch

Anselm R. Garbe 18 anni fa
parent
commit
492c6f10fc
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      client.c

+ 2 - 2
client.c

@@ -305,8 +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);
+	if(sel->isfloating)
+		resize(sel, sel->x, sel->y, sel->w, sel->h, True);
 	lt->arrange();
 }