|
|
|
@ -24,6 +24,7 @@
|
|
|
|
|
#include <wlr/types/wlr_relative_pointer_v1.h>
|
|
|
|
|
#include <wlr/types/wlr_screencopy_v1.h>
|
|
|
|
|
#include <wlr/types/wlr_server_decoration.h>
|
|
|
|
|
#include <wlr/types/wlr_subcompositor.h>
|
|
|
|
|
#include <wlr/types/wlr_tablet_v2.h>
|
|
|
|
|
#include <wlr/types/wlr_viewporter.h>
|
|
|
|
|
#include <wlr/types/wlr_xcursor_manager.h>
|
|
|
|
@ -101,6 +102,8 @@ bool server_init(struct sway_server *server) {
|
|
|
|
|
wl_signal_add(&server->compositor->events.new_surface,
|
|
|
|
|
&server->compositor_new_surface);
|
|
|
|
|
|
|
|
|
|
wlr_subcompositor_create(server->wl_display);
|
|
|
|
|
|
|
|
|
|
server->data_device_manager =
|
|
|
|
|
wlr_data_device_manager_create(server->wl_display);
|
|
|
|
|
|
|
|
|
|