add support for alpha-modifier-v1 (wlroots!4616)

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4616
This commit is contained in:
Leonardo Hernández Hernández 2024-04-30 12:36:10 -06:00
parent bb73481662
commit 3b1f0a8a88
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

2
dwl.c
View File

@ -15,6 +15,7 @@
#include <wlr/backend/libinput.h>
#include <wlr/render/allocator.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_cursor.h>
#include <wlr/types/wlr_cursor_shape_v1.h>
@ -2371,6 +2372,7 @@ setup(void)
wlr_single_pixel_buffer_manager_v1_create(dpy);
wlr_fractional_scale_manager_v1_create(dpy, 1);
wlr_presentation_create(dpy, backend);
wlr_alpha_modifier_v1_create(dpy);
/* Initializes the interface used to implement urgency hints */
activation = wlr_xdg_activation_v1_create(dpy);