Remove workaround for compositor issue that should be fixed
This commit is contained in:
parent
9598a9f8e4
commit
b1d986ee71
1 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue