diff options
Diffstat (limited to 'sway/server.c')
-rw-r--r-- | sway/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c index cf36962b..724a0e25 100644 --- a/sway/server.c +++ b/sway/server.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <wlr/types/wlr_screencopy_v1.h> | 22 | #include <wlr/types/wlr_screencopy_v1.h> |
23 | #include <wlr/types/wlr_server_decoration.h> | 23 | #include <wlr/types/wlr_server_decoration.h> |
24 | #include <wlr/types/wlr_tablet_v2.h> | 24 | #include <wlr/types/wlr_tablet_v2.h> |
25 | #include <wlr/types/wlr_viewporter.h> | ||
25 | #include <wlr/types/wlr_xcursor_manager.h> | 26 | #include <wlr/types/wlr_xcursor_manager.h> |
26 | #include <wlr/types/wlr_xdg_decoration_v1.h> | 27 | #include <wlr/types/wlr_xdg_decoration_v1.h> |
27 | #include <wlr/types/wlr_xdg_output_v1.h> | 28 | #include <wlr/types/wlr_xdg_output_v1.h> |
@@ -146,6 +147,7 @@ bool server_init(struct sway_server *server) { | |||
146 | wlr_screencopy_manager_v1_create(server->wl_display); | 147 | wlr_screencopy_manager_v1_create(server->wl_display); |
147 | wlr_data_control_manager_v1_create(server->wl_display); | 148 | wlr_data_control_manager_v1_create(server->wl_display); |
148 | wlr_primary_selection_v1_device_manager_create(server->wl_display); | 149 | wlr_primary_selection_v1_device_manager_create(server->wl_display); |
150 | wlr_viewporter_create(server->wl_display); | ||
149 | 151 | ||
150 | server->socket = wl_display_add_socket_auto(server->wl_display); | 152 | server->socket = wl_display_add_socket_auto(server->wl_display); |
151 | if (!server->socket) { | 153 | if (!server->socket) { |