|
|
@ -14,7 +14,6 @@
|
|
|
|
#include <wlr/types/wlr_data_control_v1.h>
|
|
|
|
#include <wlr/types/wlr_data_control_v1.h>
|
|
|
|
#include <wlr/types/wlr_export_dmabuf_v1.h>
|
|
|
|
#include <wlr/types/wlr_export_dmabuf_v1.h>
|
|
|
|
#include <wlr/types/wlr_gamma_control_v1.h>
|
|
|
|
#include <wlr/types/wlr_gamma_control_v1.h>
|
|
|
|
#include <wlr/types/wlr_gtk_primary_selection.h>
|
|
|
|
|
|
|
|
#include <wlr/types/wlr_idle.h>
|
|
|
|
#include <wlr/types/wlr_idle.h>
|
|
|
|
#include <wlr/types/wlr_layer_shell_v1.h>
|
|
|
|
#include <wlr/types/wlr_layer_shell_v1.h>
|
|
|
|
#include <wlr/types/wlr_pointer_constraints_v1.h>
|
|
|
|
#include <wlr/types/wlr_pointer_constraints_v1.h>
|
|
|
@ -70,7 +69,6 @@ bool server_init(struct sway_server *server) {
|
|
|
|
wlr_data_device_manager_create(server->wl_display);
|
|
|
|
wlr_data_device_manager_create(server->wl_display);
|
|
|
|
|
|
|
|
|
|
|
|
wlr_gamma_control_manager_v1_create(server->wl_display);
|
|
|
|
wlr_gamma_control_manager_v1_create(server->wl_display);
|
|
|
|
wlr_gtk_primary_selection_device_manager_create(server->wl_display);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
server->new_output.notify = handle_new_output;
|
|
|
|
server->new_output.notify = handle_new_output;
|
|
|
|
wl_signal_add(&server->backend->events.new_output, &server->new_output);
|
|
|
|
wl_signal_add(&server->backend->events.new_output, &server->new_output);
|
|
|
|