1
0
Fork 0
forked from wry/wry

fix: xdg_surface requested_serial init 1

This commit is contained in:
Daniel Shiposha 2023-07-15 18:55:33 +02:00
parent 0b23abb4c3
commit 975147d831

View file

@ -96,7 +96,7 @@ impl XdgSurface {
base: wm_base.clone(), base: wm_base.clone(),
role: Cell::new(XdgSurfaceRole::None), role: Cell::new(XdgSurfaceRole::None),
surface: surface.clone(), surface: surface.clone(),
requested_serial: NumCell::new(0), requested_serial: NumCell::new(1),
acked_serial: Cell::new(None), acked_serial: Cell::new(None),
geometry: Cell::new(None), geometry: Cell::new(None),
extents: Cell::new(Default::default()), extents: Cell::new(Default::default()),