mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 02:19:49 +01:00
95b22619e0
The deleted includes are redundant, because other headers will include the necessary files. Additionally, they cause build failures, because including EGL/egl.h or EGL/eglext.h directly, instead of through wlr/render/egl.h or wlr/render/interface.h, will mean that MESA_EGL_NO_X11_HEADERS will not have been defined, and so the EGL headers will attempt to pull in unnecessary X11 headers that may not exist on the system. For the headers produced by glgen.sh, the includes couldn't simply be deleted, because no other header would include the EGL headers. Neither wlr/render/egl.h or wlr/render/interface.h felt appropriate to include, so I opted instead to copy the MESA_EGL_NO_X11_HEADERS definition before the EGL includes. |
||
---|---|---|
.. | ||
bindings.c | ||
config.c | ||
cursor.c | ||
desktop.c | ||
ini.c | ||
input.c | ||
keyboard.c | ||
layer_shell.c | ||
main.c | ||
meson.build | ||
output.c | ||
README.md | ||
render.c | ||
rootston.ini.example | ||
seat.c | ||
switch.c | ||
text_input.c | ||
view.c | ||
virtual_keyboard.c | ||
wl_shell.c | ||
xdg_shell.c | ||
xdg_shell_v6.c | ||
xwayland.c |
rootston
Rootston is the "big" wlroots test compositor. It implements basically every feature of wlroots and may be useful as a reference for new compositors. However, it's mostly used as a testbed for wlroots development and does not have particularly clean code and is not particularly well designed: proceed with a grain of salt. It is not designed for end-users.
Running rootston
If you followed the build instructions in ../README.md
, the rootston
executable can be found at build/rootston/rootston
. To use it, refer to the
example config at rootston/rootston.ini.example and place a
config file of your own at rootston.ini
in the working directory (or in an
arbitrary location via rootston -C
). Other options are available, refer to
rootston -h
.