JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied Sanders patch
[dwm.git] / client.c
index cf3a686..f3d31cb 100644 (file)
--- a/client.c
+++ b/client.c
@@ -305,6 +305,8 @@ togglefloating(const char *arg) {
        if(!sel || lt->arrange == floating)
                return;
        sel->isfloating = !sel->isfloating;
+       if(sel->isfloating)
+               resize(sel, sel->x, sel->y, sel->w, sel->h, True);
        lt->arrange();
 }