From dae6c06e0c1135334ef30cae0f5b3522b72b4310 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 5 Dec 2020 01:10:06 +0100 Subject: 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. --- build.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'build.zig') 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 { -- cgit v1.2.3