Hi, Update: It now works on wayland with -Dprism.order=sw
Em dom., 15 de out. de 2023 às 10:49, Thiago Milczarek Sayão < thiago.sa...@gmail.com> escreveu: > 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. > > >