Skip to content

Commit 872cf45

Browse files
committed
Add support for alpha-modifier-v1
(cherry picked from commit a0b3606)
1 parent 1311685 commit 872cf45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sway/server.c

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <wlr/config.h>
1010
#include <wlr/render/allocator.h>
1111
#include <wlr/render/wlr_renderer.h>
12+
#include <wlr/types/wlr_alpha_modifier_v1.h>
1213
#include <wlr/types/wlr_compositor.h>
1314
#include <wlr/types/wlr_content_type_v1.h>
1415
#include <wlr/types/wlr_cursor_shape_v1.h>
@@ -321,6 +322,7 @@ bool server_init(struct sway_server *server) {
321322
&server->pointer_constraint);
322323

323324
wlr_presentation_create(server->wl_display, server->backend);
325+
wlr_alpha_modifier_v1_create(server->wl_display);
324326

325327
server->output_manager_v1 =
326328
wlr_output_manager_v1_create(server->wl_display);

0 commit comments

Comments
 (0)