Explorar el Código

applied anydots proposal to let togglefloating restore fixed windows

Anselm R. Garbe hace 18 años
padre
commit
caa7ab5362
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      client.c

+ 2 - 0
client.c

@@ -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();
 }