udevbe / greenfield

HTML5 Wayland compositor :seedling:
GNU Affero General Public License v3.0
918 stars 28 forks source link

XWayland support #12

Closed Zubnix closed 2 years ago

Zubnix commented 5 years ago

Adding XWayland support would allow running large number of applications that do not have a Wayland port. For this we need to implement an X window manager in the Greenfield compositor. It will be required to compile a modified XCB/Xlib to WebAssembly in order to maximize code reuse.

Zubnix commented 5 years ago

Investigate if we can use https://github.com/sidorares/node-x11 in the browser, maybe fork & patch it so it can use websockets and doesn't need node dependencies. https://github.com/udevbe/browser-x11

sabrehagen commented 4 years ago

The lack of XWayland support seems to be the number one blocker to adopting greenfield. Do you have plans to address this feature in the near term?

Zubnix commented 4 years ago

I wasn't really aware this was the number one priority for users. I'm currently doing a rather large refactor of the core middleware using redux-saga + typescript which is almost done. Once finished (hopefully somewhere this week), I could start the XWayland support.

sabrehagen commented 4 years ago

I'm making the claim it's "number one" given the majority of Linux graphical applications require X11 to function, thereby the majority of users require X11 support in greenfield to use their daily applications.

Starting work on XWayland would be most exciting. Thanks for taking up the challenge :)

Zubnix commented 4 years ago

TODO

sabrehagen commented 4 years ago

Hello! Just wanted to check in to see how progress on this was going 😃

Zubnix commented 4 years ago

DONE:

TODO:

Zubnix commented 2 years ago

DONE:

TODO:

sabrehagen commented 2 years ago

So great to see this supported! Thank you!!

Zubnix commented 2 years ago

c/p is now fully implemented for both xwayland and browser

fullscreen supported will be added later on