parkouss / pyewmh

An implementation of EWMH (Extended Window Manager Hints) for python, based on Xlib.
GNU Lesser General Public License v3.0
40 stars 15 forks source link

Can I move + resize a window using this ? #13

Open stuaxo opened 8 years ago

stuaxo commented 8 years ago

I'm making an script that restarts programmes - before I kill them I save the (wm_name, x, y, width, height) using ewmh.

Is there a way to set window geometry using ewmh ?

parkouss commented 8 years ago

Have you tried using setMoveResizeWindow ? I haven't tried in a while, but looking at the description this look like what you need. Tell me if that helps!

http://ewmh.readthedocs.io/en/latest/ewmh.html#ewmh.ewmh.EWMH.setMoveResizeWindow