From 4d49c8250c34eb10f83574d9d6e31b21892542d0 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Mon, 27 Nov 2023 02:14:21 +0100 Subject: [PATCH] Chase wlroots: Add workaround for missing forward declares Chases 70c1a5724814d2f786f7d3a0e55a05f11af14029 gamma-control-v1: introduce set_gamma event --- src/server.c | 4 ++++ subprojects/wlroots.wrap | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index 26a41634..e8f29685 100644 --- a/src/server.c +++ b/src/server.c @@ -5,6 +5,10 @@ #include #include #include + +/* Temporary fix for a wlroots bug: missing forward declares in the gamma header */ +#include + #include #include #include diff --git a/subprojects/wlroots.wrap b/subprojects/wlroots.wrap index 91b514df..3c4b3c09 100644 --- a/subprojects/wlroots.wrap +++ b/subprojects/wlroots.wrap @@ -1,6 +1,6 @@ [wrap-git] url = https://gitlab.freedesktop.org/wlroots/wlroots.git -revision = 26676c8c072f813dc2d7e2b2dfe9e2701ce361a7 +revision = 70c1a5724814d2f786f7d3a0e55a05f11af14029 [provide] dependency_names = wlroots