JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed a typo
[dwm.git] / client.c
index 62d4afc..97dd96b 100644 (file)
--- a/client.c
+++ b/client.c
@@ -210,7 +210,7 @@ manage(Window w, XWindowAttributes *wa)
        diff = sw - c->fw;
        c->fx = sx + (random() % diff ? diff : 1);
        diff = sh - c->fh;
-       c->fy = sx + (random() % diff ? diff : 1);
+       c->fy = sy + (random() % diff ? diff : 1);
 
        c->border = 1;
        c->proto = getproto(c->win);