mirror of
https://github.com/swaywm/sway.git
synced 2026-02-08 10:06:44 -05: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
723b1ea3b7
commit
4a3d170d25
4 changed files with 38 additions and 10 deletions
|
|
@ -164,7 +164,7 @@ extern bool allow_unsupported_gpu;
|
|||
|
||||
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