summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-09-29 16:57:52 +0200
committerFurkan Sahin <furkan-dev@proton.me>2024-09-29 16:57:52 +0200
commit1eb9bb4e5bc7db22636b0052bfa79c755b3a62fe (patch)
tree7c7057e827f24145848db123504388b09a3aac2e
parent27529807557ea760c12458d1da212639ce839329 (diff)
Add support for alpha-modifier-v1
(cherry picked from commit a0b3606f1725ee56e8dc15ae51ce62d042c0668a)
-rw-r--r--sway/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c
index 12492224..9648f258 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -9,6 +9,7 @@
#include <wlr/config.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_content_type_v1.h>
#include <wlr/types/wlr_cursor_shape_v1.h>
@@ -321,6 +322,7 @@ bool server_init(struct sway_server *server) {
&server->pointer_constraint);
wlr_presentation_create(server->wl_display, server->backend);
+ wlr_alpha_modifier_v1_create(server->wl_display);
server->output_manager_v1 =
wlr_output_manager_v1_create(server->wl_display);