Add a setting for preferred decoration mode (client-side or server-side decorations).
Do not set QT_WAYLAND_DISABLE_WINDOWDECORATION=1 anymore since we now use the xdg-decoration protocol (Qt clients will use whatever preferred decoration mode we set in the compositor).
Decide whether xdg-toplevels are decorated or not using xdg-decoration.
Use the kde-decoration protocol for older shell protocols such as xdg-shell v6 and wl-shell.
Add a setting for preferred decoration mode (client-side or server-side decorations).
Do not set
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
anymore since we now use the xdg-decoration protocol (Qt clients will use whatever preferred decoration mode we set in the compositor).Decide whether xdg-toplevels are decorated or not using xdg-decoration. Use the kde-decoration protocol for older shell protocols such as xdg-shell v6 and wl-shell.