Open Fox2Code opened 3 months ago
It seems like it is deprecated and XDG Decoration should be preferred.
Wayland KDE Server Decoration Protocol
There have been discussions about replacing it in GTK.
So I think it's a better idea to wait for GTK to support XDG decoration.
@ehopperdietzel It may take literal years for this GTK MR to be included, and since the KDE Decoration protocol is deprecated, it is not longer subject to change, on the other hand I don't know if there is many GTK apps that uses server side decorations, as Gnome is popularly known to be against server side decorations.
I am going to consider it, but to be honest, I don't like the idea of adding two protocols for the same purpose, and even worse if one of those is deprecated. Anyway, GTK has a very robust theming system for CSD, which even allows applying border masks for round corners and such. So, in the meantime, that could be used.
It's been 3 months and nothing productive is happening, I think the best is to ignore GTK.
LinuxMint (Peoples that make Cinnamon) started doing xapps because Gnome keep being annoying.
Maybe I'll should get a look at xapps to see if I can find something interesting there for Louvre.
I'll take a look to the KDE protocol, maybe I can add it without problems.
Nice, let's wait a few more years! 😄
This is very silly, GTK support KDE protocol for decoration, but not the XDG one.
Relevant code: https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gdk/wayland/gdkdisplay-wayland.c Searching for
xdg_decoration
in the entire project result in nothing Checking fororg_kde_kwin_server_decoration_manager
gives multiple resultsRelevant protocols:
Since Louvre already support
xdg_decoration_unstable_v1
, supportingorg_kde_kwin_server_decoration_manager
as well shouldn't be much an issue as they are almost identical protocols.