On 28/12/2025 18:19, ichthyo wrote:
Absolute positioning is handled quite differently under X11 than
under Wayland. In fact, Wayland does not support the concept of
"absolute coordinates".

Just guessing here, though...


haven't found any lead yet.... :-(

Moreover, I just noticed that the Bandwidth diagram does also
not work when running on the Wayland desktop (in my VirtualBox),
if I force yoshimi to use the XWayland and X11 backend

FLTK_BACKEND=x11 yoshimi


My hypothesis is thus far, that when running under X11,
the coordinate system is somehow different...

Note that this drawing goes into a popup window.
There is an extended section in the FLTK / Wayland documentation
which explains the tricky situation regarding popup windows
(i.e. menues and hover windows).

https://www.fltk.org/doc-1.4/wayland-devel.html#menu-windows


So my thinking is that what Fl_Window::current() returns is
somewhat arbitrary in this situation, under x11.

We use this "current window" however to get its Cairo surface


But, as said, just guessing here...


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

Reply via email to