mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
sway/server: implement wayland socket handover
This commit implements the compositor side of the Wayland socket handover protocol as described in the [KDE Wiki]. The CLI options are chosen so that they are compatible with Kwin. [KDE Wiki]: https://invent.kde.org/plasma/kwin/-/wikis/Restarting
This commit is contained in:
parent
438010938c
commit
f23ad75e16
4 changed files with 38 additions and 10 deletions
|
|
@ -164,7 +164,7 @@ extern bool unsupported_gpu_detected;
|
|||
|
||||
void sway_terminate(int exit_code);
|
||||
|
||||
bool server_init(struct sway_server *server);
|
||||
bool server_init(struct sway_server *server, const char * socket_name, int socket_fd);
|
||||
void server_fini(struct sway_server *server);
|
||||
bool server_start(struct sway_server *server);
|
||||
void server_run(struct sway_server *server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue