Skip to content

cleanup: Guard x11 headers

Bilal Elmoussaoui requested to merge bilelmoussaoui/x11-build-guards-3 into main

Depends on !2466 (closed)

This is mostly putting all the X11 specific headers behind a ifdef, it will not affect current CI builds until we have fully finished the X11-less build option. With these changes, setting have_x11 to false will make the compiler fail in a lot of places where we need to either refactor the code a bit or guard the X11 specific bits.

Merge request reports