aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-12-05 01:10:06 +0100
committerIsaac Freund <ifreund@ifreund.xyz>2020-12-05 01:10:06 +0100
commitdae6c06e0c1135334ef30cae0f5b3522b72b4310 (patch)
treec6fcf5add85325ec4a79a8800c3103b10bd80d40 /build.zig
parent807d4a4212a2cc14203d63376895cc36072ff1a2 (diff)
downloadriver-dae6c06e0c1135334ef30cae0f5b3522b72b4310.tar.gz
river-dae6c06e0c1135334ef30cae0f5b3522b72b4310.tar.xz
screencopy: add workaround for wlroots bug
Currently screencopy's copy_with_damage request is broken for compositors not submitting damage. As a workaround simply damage the whole output each frame.
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 1baf9a9..5105227 100644
--- a/build.zig
+++ b/build.zig
@@ -124,6 +124,7 @@ fn addServerDeps(exe: *std.build.LibExeObjStep) void {
exe.linkSystemLibrary("wayland-server");
exe.linkSystemLibrary("wlroots");
exe.linkSystemLibrary("xkbcommon");
+ exe.linkSystemLibrary("pixman-1");
}
fn addProtocolDeps(exe: *std.build.LibExeObjStep, protocol_step: *std.build.Step) void {