mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-26 09:23:48 -07:00
toplevelexport: ignore defunct windows
This commit is contained in:
@@ -311,9 +311,8 @@ void CToplevelExportProtocolManager::onMonitorRender(CMonitor* pMonitor) {
|
||||
}
|
||||
|
||||
void CToplevelExportProtocolManager::shareFrame(SScreencopyFrame* frame) {
|
||||
if (!frame->buffer) {
|
||||
if (!frame->buffer || !g_pCompositor->windowValidMapped(frame->pWindow))
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: damage
|
||||
|
||||
|
Reference in New Issue
Block a user