<div dir="ltr">Hi,<br><div><br></div><div>Update: It now works on wayland with -Dprism.order=sw</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em dom., 15 de out. de 2023 às 10:49, Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com">thiago.sayao@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div><a href="https://github.com/openjdk/jfx-sandbox/tree/tsayao_wayland" target="_blank">https://github.com/openjdk/jfx-sandbox/tree/tsayao_wayland</a><br></div><div><br></div><div>I did some experiments here. So far, so good.</div><div><br></div><div>1) Replaced GDK events for Gtk Signals - It's the way to go for newer gtk.</div><div>2) Replaced drawing directly in the window and added a GtkDrawingArea with a GtkHeaderBar which allows control over the whole window</div><div>size and allows to get rid of extents* calls - this cleans up a lot.</div><div>3) Unified the WindowContext to clean it up.</div><div><br></div><div>I also integrated the IME replacement proposed here:</div><div><a href="https://github.com/openjdk/jfx/pull/1080" target="_blank">https://github.com/openjdk/jfx/pull/1080</a><br></div><div><br></div><div>It almost runs with software rendering on Wayland, but something still touches X11.<br></div><div><br></div><div><div>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? </div><div><br></div></div><div>-- Thiago.</div><div><br></div><div><br></div></div>
</blockquote></div>