rdanbrook
rdanbrook
It is an FLTK bug. There is a workaround in place for non-Apple platforms right now to deal with bad behaviour from GNOME, which is (somehow!) the most popular Linux...
Using a compile time check isn't going to work here, but an environment variable check at runtime could be a solution. Really though, the FLTK bug should be fixed, and...
GNOME is not a platform or OS, so there is not a compile time solution like this. I think `__APPLE__` actually comes from SDL and there is something else underneath...
That still isn't a solution, because distros then have to choose for the user. This is what the solution will end up looking like: https://stackoverflow.com/questions/3496774/detect-desktop-environment-in-linux-programmatically-in-c
Most users are not compiling on their own. The majority of users are on the distro-supplied package or the Flatpak distribution. In those cases, it cannot be assumed what desktop...