diff options
author | Simon Ser <contact@emersion.fr> | 2022-06-05 19:00:38 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-08-04 18:44:58 +0200 |
commit | 89d73beedbad2d484adc85fe114680e85d391958 (patch) | |
tree | b9ca7cd9c7320aa25ca51c269d6278a5bc7124a1 /sway | |
parent | 9e879242fd1f1230d34337984cca565d84b932bb (diff) |
Enable single-pixel-buffer-v1
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3428
Diffstat (limited to 'sway')
-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 be74b3b3..a87fc7cf 100644 --- a/sway/server.c +++ b/sway/server.c @@ -23,6 +23,7 @@ #include <wlr/types/wlr_primary_selection_v1.h> #include <wlr/types/wlr_relative_pointer_v1.h> #include <wlr/types/wlr_screencopy_v1.h> +#include <wlr/types/wlr_single_pixel_buffer_v1.h> #include <wlr/types/wlr_server_decoration.h> #include <wlr/types/wlr_subcompositor.h> #include <wlr/types/wlr_tablet_v2.h> @@ -199,6 +200,7 @@ bool server_init(struct sway_server *server) { wlr_data_control_manager_v1_create(server->wl_display); wlr_primary_selection_v1_device_manager_create(server->wl_display); wlr_viewporter_create(server->wl_display); + wlr_single_pixel_buffer_manager_v1_create(server->wl_display); struct wlr_xdg_foreign_registry *foreign_registry = wlr_xdg_foreign_registry_create(server->wl_display); |