move/resize a snapped window with wmctrl
Vlad Zahorodnii
vlad.zahorodnii at kde.org
Tue Oct 27 06:25:38 GMT 2020
On 10/22/20 11:14 PM, David Hansmair wrote:
> 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.
Yes, kwin will disobey the configure request if the window is maximized
or quick tiled.
> 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.
Is that window quarter quick tiled, i.e. it's tiled in a screen corner,
e.g. top-left?
Cheers,
Vlad
> 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
>
More information about the kwin
mailing list