xdg-decoration: clean up implementation

We now send some protocol errors that wlroots 0.16 is missing [1].
This also allows us to access the xdg decoration from a view, which will
be necessary for some future changes.

[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4051
This commit is contained in:
Isaac Freund
2023-03-10 14:55:56 +01:00
parent fcb184f0bd
commit 05eac54b07
11 changed files with 157 additions and 154 deletions