mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
Wire up output frame loop
This commit is contained in:
parent
7eafcc75f6
commit
1efd5f819f
10 changed files with 75 additions and 13 deletions
|
|
@ -30,6 +30,10 @@ bool server_init(struct sway_server *server) {
|
|||
server->output_add.notify = output_add_notify;
|
||||
wl_signal_add(&server->backend->events.output_add, &server->output_add);
|
||||
|
||||
server->output_remove.notify = output_remove_notify;
|
||||
wl_signal_add(&server->backend->events.output_remove,
|
||||
&server->output_remove);
|
||||
|
||||
server->socket = wl_display_add_socket_auto(server->wl_display);
|
||||
if (!sway_assert(server->socket, "Unable to open wayland socket")) {
|
||||
wlr_backend_destroy(server->backend);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue