mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 22:26:00 +01:00
toplevelexport: ignore defunct windows
This commit is contained in:
parent
e8c6d0f51e
commit
7762ac0173
1 changed files with 1 additions and 2 deletions
|
@ -311,9 +311,8 @@ void CToplevelExportProtocolManager::onMonitorRender(CMonitor* pMonitor) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void CToplevelExportProtocolManager::shareFrame(SScreencopyFrame* frame) {
|
void CToplevelExportProtocolManager::shareFrame(SScreencopyFrame* frame) {
|
||||||
if (!frame->buffer) {
|
if (!frame->buffer || !g_pCompositor->windowValidMapped(frame->pWindow))
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: damage
|
// TODO: damage
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue