Remove workaround for compositor issue that should be fixed

This commit is contained in:
Ian Douglas Scott 2023-11-08 14:09:34 -08:00
parent 9598a9f8e4
commit b1d986ee71

View file

@ -32,12 +32,6 @@ impl ScreencopyHandler for AppData {
})
.unwrap();
// XXX fix in compositor
if buffer_info.width == 0 || buffer_info.height == 0 || buffer_info.stride == 0 {
session.destroy();
return;
}
let mut buffer = capture.buffer.lock().unwrap();
// Create new buffer if none, or different format
if !buffer