X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=client.c;h=97dd96bb4cdad4e02e4a36bfecc1e2c1f6b50fa3;hp=62d4afc3fe621c3991ce66218c753b67d26fd7d4;hb=f522930a99d72a4662a7d6d495487bf77b5b6cde;hpb=aebd745f72d3bc049d0af68aec33cf17277b20e9;ds=sidebyside diff --git a/client.c b/client.c index 62d4afc..97dd96b 100644 --- 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);