SUMMARY In X11 Latte is now using _GRK_FRAME_EXTENTS in order to make the window manager happy and provide that way beautiful snapping and proper window placement during their creation. A wayland solution must be implemented in order for this to be possible at: https://invent.kde.org/plasma/latte-dock/-/blob/master/app/wm/waylandinterface.cpp#L455
On Wayland, the support for client-side decorated clients is provided out of the box by the window geometry. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/master/stable/xdg-shell/xdg-shell.xml#L490 The problem is that Qt currently doesn't provide applications any way to change it.
However, it probably doesn't matter since we want to move away from the plasma shell (and the xdg-shell) to the layer shell protocol.
from the plasma shell (and the xdg-shell) protocol*