On 21/12/2025 16:58, Will Godfrey wrote:
Some good news! Jesper has come up with a solution for this. Quoting his
comments: " I have now made a patch making use of the new API in fltk 1.4
that seems to handle both X and Wayland correctly in my own testing..... "

I'm unable to test that here as I don't have a machine I can safely install
wayland on.

On 24/12/2025 10:54, Will Godfrey wrote:
... if we can detect whether the Cario bridge is present. If running on
wayland and Cario bridge NOT present force FLTK to use X11 backend.
On 27/12/2025 19:41, ichthyo wrote:
hereby I'd propose to implement that detection at one central location;
Config.h seems to be a good choice, since its visible everywhere in the GUI.

Please have a look at the attached patch ....
Will did some tests with all these patches and he noticed something
I seemingly overlooked: we have now problems on X11 with the bandwidth
scale graph in SubSynth, which is also produced using Cairo.

By going back step-wise it becomes clear that those problems
start showing up with Jesper's patch.


So the status is:

- before Jesper's patch
  * all fine on X11, Bandwidth graph correct
  * SEGFAULT when starting yoshimi under wayland

- with Jesper's patch
  * Yoshimi starts and works flawless under wayland
  * Yoshimi starts under X11 but the dynamic line in the
    Bandwidth scale diagram is missing (or might be painted
    at a wrong location)




_______________________________________________
Yoshimi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel

Reply via email to