|
|
El 29/3/22 a las 14:27, Manolo
escribió:
Here is a complete proposal for a hybrid Wayland/X11 FLTK
library ready for release with FLTK 1.4,
along the line sketched by Albrecht above.
It's available in branch wayland of
It contains support for an environment variable FLTK_BACKEND
to pilot what is used at run-time:
- if FLTK_BACKEND is undefined, the library uses wayland if
available and x11 otherwise;
- if FLTK_BACKEND = wayland, the library uses Wayland if
possible and exits with error otherwise;
- if FLTK_BACKEND = x11, the library uses X11 even if
Wayland is available;
- if FLTK_BACKEND has another value, the library exits with
an error message.
It contains also function fl_disable_wayland(), to
be called early in main(), to force an app to use
X11 without using the FLTK_BACKEND variable, as Albrecht
suggested.
Great work, Manolo!
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/5d50a22e-beb0-99e6-37c1-34d54267533b%40gmail.com.
[ Direct Link to Message ] | |
|
| |