BurntSushi / xpybutil

An incomplete xcb-util port plus some extras
Do What The F*ck You Want To Public License
62 stars 15 forks source link

Allow passing None to window.moveresize #4

Closed memeplex closed 4 years ago

memeplex commented 10 years ago

This way it will be more consistent with ewmh.request_moveresize_window. Currently you can pass, say, width=None to ewmh.request_moveresize_window but if you want to account for decorations window.moveresize will fail when doing w -= pw - cw.

memeplex commented 10 years ago

Also it would be nice if you add an optional argument to or a checked version of window.moveresize so you don't have to call conn.flush() after it.

BurntSushi commented 10 years ago

I'm not actively maintaining this project any more, but if you send a pull request, I'll merge it.