summaryrefslogtreecommitdiff
path: root/src/protocols/Screencopy.hpp
diff options
context:
space:
mode:
authorLee Bousfield <ljbousfield@gmail.com>2025-03-22 11:01:14 -0500
committerGitHub <noreply@github.com>2025-03-22 17:01:14 +0100
commit279b06044c583bfaa207d6fbd373c752967a4a2e (patch)
treed4d8757269b9d04d1ebe570ace2cf6fbfdb8e439 /src/protocols/Screencopy.hpp
parentccbdba7ee2ccb835306de89a6023134fa6b8006f (diff)
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
Diffstat (limited to 'src/protocols/Screencopy.hpp')
-rw-r--r--src/protocols/Screencopy.hpp2
1 files changed, 1 insertions, 1 deletions
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<void(bool)> callback);
bool copyShm();
void share();