test: while dragging, check set_window_dims calls == 1
This commit is contained in:
parent
e81e787e1a
commit
b6fe8e87cf
2 changed files with 32 additions and 1 deletions
|
|
@ -1673,7 +1673,7 @@ impl Dispatch<XdgSurface, SurfaceId> for State {
|
|||
}
|
||||
xdg_surface::Request::AckConfigure { serial } => {
|
||||
let data = state.surfaces.get_mut(surface_id).unwrap();
|
||||
assert_eq!(data.xdg().last_configure_serial, serial);
|
||||
assert!(data.xdg().last_configure_serial >= serial);
|
||||
}
|
||||
xdg_surface::Request::Destroy => {
|
||||
let data = state.surfaces.get_mut(surface_id).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue