mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-27 01:43:48 -07:00
screencopy: fix crash
This commit is contained in:
@@ -348,7 +348,6 @@ void CScreencopyProtocolManager::shareFrame(SScreencopyFrame* frame) {
|
|||||||
uint32_t tvSecHi = (sizeof(now.tv_sec) > 4) ? now.tv_sec >> 32 : 0;
|
uint32_t tvSecHi = (sizeof(now.tv_sec) > 4) ? now.tv_sec >> 32 : 0;
|
||||||
uint32_t tvSecLo = now.tv_sec & 0xFFFFFFFF;
|
uint32_t tvSecLo = now.tv_sec & 0xFFFFFFFF;
|
||||||
zwlr_screencopy_frame_v1_send_ready(frame->resource, tvSecHi, tvSecLo, now.tv_nsec);
|
zwlr_screencopy_frame_v1_send_ready(frame->resource, tvSecHi, tvSecLo, now.tv_nsec);
|
||||||
removeFrame(frame);
|
|
||||||
}
|
}
|
||||||
void CScreencopyProtocolManager::sendFrameDamage(SScreencopyFrame* frame) {
|
void CScreencopyProtocolManager::sendFrameDamage(SScreencopyFrame* frame) {
|
||||||
if (!frame->withDamage)
|
if (!frame->withDamage)
|
||||||
|
Reference in New Issue
Block a user