mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-29 19:03:48 -07:00
screencopy: fix read on incorrect monitor render
This commit is contained in:
@@ -297,6 +297,9 @@ void CScreencopyProtocolManager::onRenderEnd(CMonitor* pMonitor) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (f->pMonitor != pMonitor)
|
||||||
|
continue;
|
||||||
|
|
||||||
shareFrame(f);
|
shareFrame(f);
|
||||||
|
|
||||||
framesToRemove.push_back(f);
|
framesToRemove.push_back(f);
|
||||||
|
Reference in New Issue
Block a user