Hi,

https://github.com/openjdk/jfx-sandbox/tree/tsayao_wayland

I did some experiments here. So far, so good.

1) Replaced GDK events for Gtk Signals - It's the way to go for newer gtk.
2) Replaced drawing directly in the window and added a GtkDrawingArea with
a GtkHeaderBar which allows control over the whole window
size and allows to get rid of extents* calls - this cleans up a lot.
3) Unified the WindowContext to clean it up.

I also integrated the IME replacement proposed here:
https://github.com/openjdk/jfx/pull/1080

It almost runs with software rendering on Wayland, but something still
touches X11.

To finally make it work on Wayland it requires to implement it on prism
es2. I see that there's a EGL part of Monocle. I still don't completely
understand it, but wouldn't it work as a drop-in replacement?

-- Thiago.

Reply via email to