On Thu, Feb 20, 2025 at 05:12:11PM +0100, Magnus Ihse Bursie wrote: > On 2025-02-19 22:13, Andrew Hughes wrote: > > > A cursory glance through the PR suggested to me that there is as much > > a case for the BSD port sharing a directory with Linux as there is > > MacOS, given the number of cases I saw where it was added to Linux > > #ifdefs. > > As Phil commented, this is likely mostly tied to X11. In fact, grouping OSes > together as "unix" fits poorly with X11, since macOS is clearly a unix OS in > most respects, but it does not use X11.
When I looked through this code myself, I was thinking it would perhaps be better to have a HAS_X11 knob or something instead of trying to split by OS. I'm not sure how/if you plan on supporting Wayland, and how this would fit in with that. Harald