summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2024-04-30 12:36:10 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2024-04-30 12:36:10 -0600
commit3b1f0a8a88d0b535c76d2f0e919fd68e3a4c3b89 (patch)
tree105fa84f1dfc6e5048722d2b1612841bba63cb44
parentbb734816627b3bad7ea231bfb454777a1c5177ed (diff)
add support for alpha-modifier-v1 (wlroots!4616)
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4616
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 589b187..06db9f4 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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);