- x, y, w, h, 10, CopyFromParent, CopyFromParent,
- CopyFromParent, xswamask, &xswa);
+ x, y, w, h, b, CopyFromParent, CopyFromParent,
+ CopyFromParent, 0, NULL);
+
+ hints = XAllocSizeHints();
+ hints->flags = PWinGravity;
+ hints->win_gravity = SouthEastGravity;
+ XSetWMNormalHints(display, win, hints);
+ XFree(hints);