mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Update Smithay (last_acked refactor, Qt layer-shell popup grab fix, popup ordering fix)
This commit is contained in:
@@ -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");
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user