Add wayland support for testing

This commit is contained in:
2026-01-08 16:33:39 +01:00
parent 9e5d53e530
commit a2827573fd
4 changed files with 74 additions and 4 deletions

View File

@@ -79,11 +79,11 @@ This automatically re-compiles the project when source files change. `entr` is r
### Running the electron client
There are two methods of running the electron app during development. Both methods require access to an Xorg server.
There are two methods of running the electron app during development.
#### Running in the current X server
#### Running in the current display server
This spawns the window in your current Xorg server.
This spawns the window in your current display server.
```sh
$ make run-client
@@ -100,3 +100,13 @@ $ make run-client-x
...
^C
```
#### Running in a sandboxed wayland server
This method spawns an Xorg server with `Xephyr` and `openbox` to ensure a floating window manager, which will more accurately reflect the common user environment. Killing either the Xephyr or electron process shuts both down.
```sh
$ make run-client-x
...
^C
```