diff --git a/sway/server.c b/sway/server.c index cd3fcdf6..b1d7d3fc 100644 --- a/sway/server.c +++ b/sway/server.c @@ -8,24 +8,24 @@ #include #include #include -#include #include +#include +#include #include #include -#include #include #include #include #include #include #include +#include "config.h" #include "list.h" #include "sway/config.h" #include "sway/desktop/idle_inhibit_v1.h" #include "sway/input/input-manager.h" #include "sway/server.h" #include "sway/tree/root.h" -#include "config.h" #if HAVE_XWAYLAND #include "sway/xwayland.h" #endif @@ -57,7 +57,7 @@ bool server_init(struct sway_server *server) { wlr_gamma_control_manager_create(server->wl_display); wlr_gamma_control_manager_v1_create(server->wl_display); - wlr_primary_selection_device_manager_create(server->wl_display); + wlr_gtk_primary_selection_device_manager_create(server->wl_display); server->new_output.notify = handle_new_output; wl_signal_add(&server->backend->events.new_output, &server->new_output);