diff options
| author | vaxerski <vaxry@vaxry.net> | 2024-02-27 14:51:27 +0000 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2024-02-27 14:51:27 +0000 |
| commit | 98034fea3c1d5c1836bcc3b523cf1089dd5ac502 (patch) | |
| tree | 666928e730bcbc8248792821ed3b81ec9eb47282 /src/protocols/Screencopy.cpp | |
| parent | 21f7f32dc98521025cea76e530204ea64f2630f0 (diff) | |
screencopy: send full frame damage
fixes #4855
Diffstat (limited to 'src/protocols/Screencopy.cpp')
| -rw-r--r-- | src/protocols/Screencopy.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/Screencopy.cpp b/src/protocols/Screencopy.cpp index b2f196f3..6d0aa8bc 100644 --- a/src/protocols/Screencopy.cpp +++ b/src/protocols/Screencopy.cpp @@ -453,6 +453,8 @@ void CScreencopyProtocolManager::sendFrameDamage(SScreencopyFrame* frame) { // zwlr_screencopy_frame_v1_send_damage(frame->resource, std::clamp(RECT.x1, 0, frame->buffer->width), std::clamp(RECT.y1, 0, frame->buffer->height), // std::clamp(RECT.x2 - RECT.x1, 0, frame->buffer->width - RECT.x1), std::clamp(RECT.y2 - RECT.y1, 0, frame->buffer->height - RECT.y1)); // } + + zwlr_screencopy_frame_v1_send_damage(frame->resource, 0, 0, frame->buffer->width, frame->buffer->height); } bool CScreencopyProtocolManager::copyFrameShm(SScreencopyFrame* frame, timespec* now) { |
