Update Smithay (last_acked refactor, Qt layer-shell popup grab fix, popup ordering fix)

This commit is contained in:
Ivan Molodetskikh
2025-09-05 16:41:54 +03:00
parent 35cbab476e
commit 4808ba2b20
9 changed files with 115 additions and 96 deletions
+3 -2
View File
@@ -1259,8 +1259,9 @@ pub fn add_mapped_toplevel_pre_commit_hook(toplevel: &ToplevelSurface) -> HookId
.unwrap()
.lock()
.unwrap();
let serial = role.last_acked.as_ref().map(|c| c.serial);
(got_unmapped, dmabuf, role.configure_serial)
(got_unmapped, dmabuf, serial)
});
let mut transaction_for_dmabuf = None;
@@ -1305,7 +1306,7 @@ pub fn add_mapped_toplevel_pre_commit_hook(toplevel: &ToplevelSurface) -> HookId
}
animate = mapped.should_animate_commit(serial);
} else {
} else if !got_unmapped {
error!("commit on a mapped surface without a configured serial");
};