1
0
Fork 0
forked from wry/wry

xdg-shell: make acked serial part of the pending state

This commit is contained in:
Julian Orth 2025-09-19 12:27:42 +02:00
parent c9f54cd60b
commit 17ac4ca0e1
7 changed files with 85 additions and 36 deletions

View file

@ -486,6 +486,7 @@ struct PendingState {
commit_time: Option<u64>,
tray_item_ack_serial: Option<u32>,
color_description: Option<Option<Rc<ColorDescription>>>,
serial: Option<u64>,
}
struct AttachedSubsurfaceState {
@ -539,6 +540,7 @@ impl PendingState {
opt!(commit_time);
opt!(tray_item_ack_serial);
opt!(color_description);
opt!(serial);
{
let (dx1, dy1) = self.offset;
let (dx2, dy2) = mem::take(&mut next.offset);