On Tue, 23 Dec 2025 16:24:09 +0100 ichthyo <[email protected]> wrote:
<snip> >I could think of two different solutions. > >(1) we could skip our custom drawing code and just invoke the > inherited draw() function. And we could disable the bandwidth > diagram for Subsynth. That implies, the UI will be slightly > degraded. > >(2) we could use the internal API of FLTK at start-up to force > FLTK into using the X11 backend. Yoshimi will then run on top > of XWayland, even while it would be technically capable of > running natively on Wayland. > > >In addition, we could print a warning into STDERR. >But who cares to look at the console? > >If we choose to follow the path (2) then the whole topic will go >unnoticed by the users. Until some years into the future, where >it might happen that support for XWayland starts to crumble. >But maybe this isn't much of a problem. Maybe we have way >more serious problems some years into the future, than >custom drawing with libCairo... > >-- Hermann I would suggest maybe a 2a option if we can detect whether the Cario bridge is present. 2a If running on wayland and Cario bridge NOT present force FLTK to use X11 backend. This would then be the only change needed to the existing code. -- Will J Godfrey _______________________________________________ Yoshimi-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yoshimi-devel
