Add support for alpha-modifier-v1

This commit is contained in:
Simon Ser 2024-09-29 16:57:52 +02:00 committed by Kenny Levinsen
parent 00e9a94152
commit a0b3606f17

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>
@ -326,6 +327,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);