Add support for alpha-modifier-v1

(cherry picked from commit a0b3606f17)
This commit is contained in:
Simon Ser 2024-09-29 16:57:52 +02:00
parent 1311685d1c
commit 872cf451a1

View file

@ -9,6 +9,7 @@
#include <wlr/config.h> #include <wlr/config.h>
#include <wlr/render/allocator.h> #include <wlr/render/allocator.h>
#include <wlr/render/wlr_renderer.h> #include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_alpha_modifier_v1.h>
#include <wlr/types/wlr_compositor.h> #include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_content_type_v1.h> #include <wlr/types/wlr_content_type_v1.h>
#include <wlr/types/wlr_cursor_shape_v1.h> #include <wlr/types/wlr_cursor_shape_v1.h>
@ -321,6 +322,7 @@ bool server_init(struct sway_server *server) {
&server->pointer_constraint); &server->pointer_constraint);
wlr_presentation_create(server->wl_display, server->backend); wlr_presentation_create(server->wl_display, server->backend);
wlr_alpha_modifier_v1_create(server->wl_display);
server->output_manager_v1 = server->output_manager_v1 =
wlr_output_manager_v1_create(server->wl_display); wlr_output_manager_v1_create(server->wl_display);