FLTK logo

Re: [fltk.coredev] Exploration: FLTK platform compatible with both Wayland and X11

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Exploration: FLTK platform compatible with both Wayland and X11 Gonzalo Garramuño Mar 29, 2022  
 


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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.