1
0
Fork 0
forked from wry/wry

backend: store damaged state in ConnectorData

This commit is contained in:
Julian Orth 2024-09-11 23:00:50 +02:00
parent 7ff7edaa8f
commit ada4e5a5f0
7 changed files with 33 additions and 16 deletions

View file

@ -117,7 +117,7 @@ impl ZwlrScreencopyFrameV1 {
self.buffer.set(Some(buffer));
if !with_damage {
if let Some(global) = self.output.get() {
global.connector.connector.damage();
global.connector.damage();
}
}
self.with_damage.set(with_damage);