Skip to content

Add support for xdg-decoration version 2 #3034

@danielfikko

Description

@danielfikko

The version 2 allows the client to enable or disable window decorations at runtime. See for more information:

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/work_items/9
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/commit/fedde2456ed1572ad4d46fff119220cb845e79d6

In winex11, there is an option to disable or enable window decorations:

Image

One of the reasons winewayland does not support server-side decorations is the lack of compositors implementing version 2 of the xdg-decoration protocol, which would facilitate the implementation of this Wine option.

If, even in version 1, you already allow clients to change window decorations at runtime, all you need to do is simply bump the version from 1 to 2, just like KDE Plasma and Jay:

mahkoh/jay#759
https://invent.kde.org/plasma/kwin/-/merge_requests/8739

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions