ui icon indicating copy to clipboard operation
ui copied to clipboard

Wayland support

Open dsseng opened this issue 4 years ago • 7 comments

V UI runs on X11 even when Wayland compositor is currently running, causing running of XWayland. I think V UI should support Wayland natively.

dsseng avatar Feb 01 '20 17:02 dsseng

It will.

Once glfw dep is removed.

medvednikov avatar Feb 02 '20 07:02 medvednikov

Necrobumping, because it seems as glfw has been removed. (as of https://github.com/vlang/ui/pull/185)

daaniiieel avatar Aug 13 '20 10:08 daaniiieel

It's still on Xwayland. Just installed V and v install ui to my machine, then trying examples. Compositor: Sway. When Xwayland is stopped V UI demo closes.

dsseng avatar Aug 13 '20 11:08 dsseng

there is still no support for waylaynd i guess , i get builder error: 'X11/Xlib.h' not found when i try to compile an example on wyland

Mehdi-YC avatar Apr 12 '22 21:04 Mehdi-YC

It's deeper than just removing an X11 library; All X11 libraries shall be replaced with Wayland ones and all the relevant code rewritten for Wayland. Need some official response from @vlang.

Skaldebane avatar Apr 17 '22 23:04 Skaldebane

Do I dare ask if there has been any progress the last 1,5 years towards Wayland support?

I wanted to run ved but I cannot stand the poor DPI scaling:

image

hholst80 avatar Dec 30 '23 00:12 hholst80

Sokol has a PR for wayland that hasn't been touched in a while (https://github.com/floooh/sokol/pull/425), so presumably when that's merged V UI (and everthing that uses gg) will work on wayland natively

squidink7 avatar Jan 10 '24 02:01 squidink7