yad icon indicating copy to clipboard operation
yad copied to clipboard

[feature request] Add Wayland support

Open sarether opened this issue 3 years ago • 8 comments

Add Wayland support (without Xwayland). And thinner widgets in height like 9.3 version (9.3 is latest with "normal" height ).

sarether avatar Jan 29 '22 09:01 sarether

What is necessary for native wayland support? Any pointers? I am a newbie in this field but maybe I can work on a PR...

I am asking because I switched from i3 to sway a couple of days ago and wanted to use yad to build a small shutdown menu with the --notification feature which seems to be not available with native wayland main.c#L879

afrischk avatar Apr 26 '22 18:04 afrischk

i don't use wayland. that's why i cannot add wayland support to yad

v1cont avatar Apr 27 '22 10:04 v1cont

i don't use wayland. that's why i cannot add wayland support to yad

Me too, but it would be nice if YAD worked without XWayland. There have been many cases recently (not mine).

sarether avatar May 17 '22 14:05 sarether

Yad seems to mostly work under Wayland, but a few features such as tabs (#109) and tray icons. So I think it's more a case of improving Wayland support. I'm not in any way familiar with the internal workings of Yad or Wayland implementations, but it seems like XDG Foreign Protol (which seems like an in-development spec?) should implement some of the functionality needed for tabs to work on Wayland.

I guess for improved Wayland support it'll need to be contributed by someone else and it'll require waiting for the Wayland spec to implement features needed for Yad to have full Wayland support (i.e., alternatives to what is used on X11).

Improved Native Wayland support would be excellent for Yad at some point in the future :pray:

sonic2kk avatar Aug 24 '22 20:08 sonic2kk