To give some background to this, for xorg and wayland to work, mesa needs to be compiled against them.
The current mesa (Xorg*-3d, libEGL, libGL, libGLES*) status is:
x86: xorg only
x86_64: xorg and wayland
armhf: xorg and wayland
aarch64: xorg and wayland
In x86, mesa was compiled against xorg only to keep things as small as possible.
In armhf, even though the RPi cpu's are relatively slow and, in some versions, the amount of memory is small, all of them have a gpu, which wayland compositors can use to speed graphics up. For this reason mesa was compiled against xorg and wayland.
Up until fltk-1.3.x, it was only possible to compile fltk against xorg, which means the tinycore gui applets will not work with a wayland compositor unless xwayland is used, adding bloat.
With fltk-1.4.x it is possible to compile against both x11 and wayland, which means the tinycore gui applets work with both x11 window managers and wayland compositors.
Also with fltk-1.4.x, it is possible to compile mesa against wayland only, fltk-1.4.x against wayland only and run tinycore without x11 using a wayland compositor.
----
Taking the above into account, for tc-16.x, if we propose to move to fltk-1.4.x, I would suggest we compile an xorg only version for x86 and a combination xorg/wayland version for the other repos.
Note that a trial, wayland only, version of tc-15.x x86_64 was made, but there was not a great deal of interest in taking it forwards.
I will experiment with various options to build fltk-1.4.x with a view to getting the smallest possible xorg and xorg/wayland versions:
Without printing enabled
Without xft if possible
With lto (I make a pass without lto for the static libs)
Using ldscripts elf_i386.xbn and elf_x86_64.xbn
Using gcc initially, but maybe llvm later.
Comments welcome.