From 279b06044c583bfaa207d6fbd373c752967a4a2e Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Sat, 22 Mar 2025 11:01:14 -0500 Subject: screencopy, render: Use explicit sync for screencopy (#9697) * screencopy, render: Use explicit sync for screencopy * screencopy: Check if explicit sync is enabled * screencopy: Don't require explicit KMS enabled --- src/protocols/Screencopy.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocols/Screencopy.hpp') diff --git a/src/protocols/Screencopy.hpp b/src/protocols/Screencopy.hpp index 62c9f8b8..3b46b0b8 100644 --- a/src/protocols/Screencopy.hpp +++ b/src/protocols/Screencopy.hpp @@ -73,7 +73,7 @@ class CScreencopyFrame { CBox box = {}; void copy(CZwlrScreencopyFrameV1* pFrame, wl_resource* buffer); - bool copyDmabuf(); + void copyDmabuf(std::function callback); bool copyShm(); void share(); -- cgit v1.2.3