wlroots-hyprland/rootston
Alyssa Ross 95b22619e0 Fix missing headers when building without X11
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.
2019-04-22 00:04:08 +03:00
..
README.md Update READMEs per tinywl merge 2019-01-03 10:10:03 -05:00
bindings.c rootston: make roots_view embedded and remove unions 2019-02-23 15:24:28 +01:00
config.c rootston: Make add_{switch,binding}_config static 2019-02-26 15:48:59 +01:00
cursor.c rootston: only allow one drag icon per seat 2019-01-30 15:24:18 +01:00
desktop.c output-management-v1: support applying configuration 2019-04-11 09:19:57 -06:00
ini.c Fix gcc string truncation warnings 2018-04-13 14:37:53 +09:00
input.c seat: don't send motion if pointer hasn't moved 2019-01-30 15:24:17 +01:00
keyboard.c Factor out binding command execution to separate file 2018-12-15 14:42:35 +11:00
layer_shell.c rootston: refactor rendering 2019-03-02 09:37:05 -07:00
main.c rootston: document why Xwayland is disconnected before clients 2019-01-18 12:20:04 +01:00
meson.build rootston: split rendering code into render.c 2019-03-02 09:37:05 -07:00
output.c Fix missing headers when building without X11 2019-04-22 00:04:08 +03:00
render.c rootston: split rendering code into render.c 2019-03-02 09:37:05 -07:00
rootston.ini.example Implement pointer-constraints protocol in wlroots and rootston 2018-09-18 10:14:33 +02:00
seat.c s/lid_switch/switch_device 2019-03-19 22:45:58 -04:00
switch.c s/lid_switch/switch_device 2019-03-19 22:45:58 -04:00
text_input.c text-input: Accept disable requests 2018-10-13 20:46:53 +00:00
view.c rootston: refactor rendering 2019-03-02 09:37:05 -07:00
virtual_keyboard.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
wl_shell.c rootston: refactor rendering 2019-03-02 09:37:05 -07:00
xdg_shell.c output: remove lx, ly 2019-04-13 08:31:30 -06:00
xdg_shell_v6.c output: remove lx, ly 2019-04-13 08:31:30 -06:00
xwayland.c rootston: make roots_view embedded and remove unions 2019-02-23 15:24:28 +01:00

README.md

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.