mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:09:51 +01:00
screencopy: fix crash
This commit is contained in:
parent
50876f1b15
commit
5e2d4d644a
1 changed files with 0 additions and 1 deletions
|
@ -348,7 +348,6 @@ void CScreencopyProtocolManager::shareFrame(SScreencopyFrame* frame) {
|
|||
uint32_t tvSecHi = (sizeof(now.tv_sec) > 4) ? now.tv_sec >> 32 : 0;
|
||||
uint32_t tvSecLo = now.tv_sec & 0xFFFFFFFF;
|
||||
zwlr_screencopy_frame_v1_send_ready(frame->resource, tvSecHi, tvSecLo, now.tv_nsec);
|
||||
removeFrame(frame);
|
||||
}
|
||||
void CScreencopyProtocolManager::sendFrameDamage(SScreencopyFrame* frame) {
|
||||
if (!frame->withDamage)
|
||||
|
|
Loading…
Reference in a new issue