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.
This commit is contained in:
Isaac Freund
2020-12-05 01:10:06 +01:00
parent 807d4a4212
commit dae6c06e0c
2 changed files with 14 additions and 0 deletions

View File

@ -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 {