mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-03 21:29:49 +01:00
screencopy: fix read on incorrect monitor render
This commit is contained in:
parent
c2a85c9d36
commit
50876f1b15
1 changed files with 4 additions and 1 deletions
|
@ -297,6 +297,9 @@ void CScreencopyProtocolManager::onRenderEnd(CMonitor* pMonitor) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (f->pMonitor != pMonitor)
|
||||
continue;
|
||||
|
||||
shareFrame(f);
|
||||
|
||||
framesToRemove.push_back(f);
|
||||
|
|
Loading…
Reference in a new issue