1
0
Fork 0
forked from wry/wry

surface: commit subsurface state during parent commit

This commit is contained in:
Julian Orth 2024-04-04 10:28:30 +02:00
parent a2c907c8c4
commit c5fd2cd989
10 changed files with 125 additions and 69 deletions

View file

@ -349,7 +349,7 @@ impl SurfaceExt for ZwlrLayerSurfaceV1 {
Ok(())
}
fn after_apply_commit(self: Rc<Self>, _pending: &mut PendingState) {
fn after_apply_commit(self: Rc<Self>) {
let buffer_is_some = self.surface.buffer.is_some();
let was_mapped = self.mapped.get();
if self.mapped.get() {