arg@10ksloc.org 19 жил өмнө
parent
commit
f522930a99
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      client.c

+ 1 - 1
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);