fix(state): do not destroy screencopy proxy on SHM buffer event

This commit is contained in:
dailz
2026-04-15 07:15:46 +08:00
parent 68514bd3f6
commit 10ee190fd2

View File

@@ -1214,7 +1214,6 @@ impl Dispatch<ZwlrScreencopyFrameV1, ()> for State<CapWlrScreencopy> {
tracing::warn!(
"Received SHM Buffer event — only DMA-BUF capture is supported. Ignoring."
);
proxy.destroy();
return;
}
ScreencopyFrameEvent::LinuxDmabuf {