move/resize a snapped window with wmctrl

David Hansmair david.hansmair at t-online.de
Thu Oct 22 21:14:05 BST 2020


Hello there,

I have been investigating this problem for hours and can't find any 
solution online, maybe you can help me.

I am trying to use the ewmh functionality to move/resize windows. 
Apparently it is necessary to remove the MAXIMIZED_HORZ and 
MAXIMIZED_VERT window states first.

However, on windows that have been manually dragged and then 
tiled/snapped into a zone on the screen, moving and resizing is still 
not possible.

The same problem occurs with the wmctrl tool, e.g.

wmctrl -r "Mozilla Firefox" -b remove,maximized_vert,maximized_horz

wmctrl -r "Mozilla Firefox" -e 1,100,100,500,400

has no effect on the window if it has been dragged to one of the 
predefined zones before. It works as expected if the window is in 
floating mode.

It seems that other people are facing this problem too, yet I can't find 
a solution to this.


Any reply will be greatly appreciated!

Best regards,

David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20201022/3cb8d41e/attachment.htm>


More information about the kwin mailing list