You need to configure the Window request to change the x, y, width, height and ChangeWindowAttributes requests to change the gravity. You can use them directly or with a resource / window wrapper
win = xobject.drawable.Window(display, id) win.configure(x=123, y=345, width=678, height=910) win.change_attributes(win_gravity=X.NorthWestGravity, bit_gravity=X.StaticGravity)
source share