You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry I can't test cause I'm not on Gnome but If your extension can do this, this has me thinking whether it's possible to re-create server side decorations for Wayland clients.
Gnome famously doesn't provide window decorations on Wayland, which breaks at least half the linux applications in existence. While the correct solution to this problem is to switch to a desktop that has a modicum of respect for third party developers, I do wonder if it could be "fixed" with an extension, similarly to how you fixed Gnome's inconsistent window shapes by forcing round corners on everything.
The text was updated successfully, but these errors were encountered:
developer91234
changed the title
Can this force round corners on native Wayland clients? If so what else could once force?
Can this force round corners on native Wayland clients? If so what else could you force?
Aug 6, 2022
This extensions can add round corners for Wayland clients, because we can use Shell.GLSLEffect to create a rounded rectangle shader, then call Clutter.Actor.add_effect() to apply shader to windows (because windows shown in Gnome-Shell is an Meta.WindowActor, which inhert from Clutter.Actor).
Those API has exported so it's possible to add rounded corners for all windows in a gnome-shell extensions.
I am don't have programming experience about Wayland WM / protocol, so I can't answer this question correctly. But I think it's impossible (or very hard) to implement ssd support for Wayland in Gnome by an gnome-shell extensions, this is responsibility of window manager / compositor, but sadly developer of Mutter doesn't support it.
SSDs in Wayland should (optionally) be drawn by the compositor, so no, it's probably not possible to do that with an extension. Unless GNOME has some APIs for directly modifying how the compositor works, which I hightly doubt.
Btw if you're a developer and you don't want to spend time to implement CSDs for Wayland, you can use GNOME's libdecor library which does this for you.
Sorry I can't test cause I'm not on Gnome but If your extension can do this, this has me thinking whether it's possible to re-create server side decorations for Wayland clients.
Gnome famously doesn't provide window decorations on Wayland, which breaks at least half the linux applications in existence. While the correct solution to this problem is to switch to a desktop that has a modicum of respect for third party developers, I do wonder if it could be "fixed" with an extension, similarly to how you fixed Gnome's inconsistent window shapes by forcing round corners on everything.
The text was updated successfully, but these errors were encountered: