diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-09-05 16:41:54 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-09-17 22:04:23 +0300 |
| commit | 4808ba2b2055a09008be17d3e9eeae2d592b7b18 (patch) | |
| tree | 2ca186112158a9b69e36aa6f76cd78f0361fc911 /src/tests | |
| parent | 35cbab476ebfc271909777029f56f666b29d76a2 (diff) | |
| download | niri-4808ba2b2055a09008be17d3e9eeae2d592b7b18.tar.gz niri-4808ba2b2055a09008be17d3e9eeae2d592b7b18.tar.bz2 niri-4808ba2b2055a09008be17d3e9eeae2d592b7b18.zip | |
Update Smithay (last_acked refactor, Qt layer-shell popup grab fix, popup ordering fix)
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/window_opening.rs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/tests/window_opening.rs b/src/tests/window_opening.rs index b824cc69..239fb512 100644 --- a/src/tests/window_opening.rs +++ b/src/tests/window_opening.rs @@ -65,6 +65,7 @@ fn simple() { } #[test] +#[should_panic(expected = "Protocol error 3 on object xdg_surface")] fn dont_ack_initial_configure() { let mut f = Fixture::new(); f.add_output(1, (1920, 1080)); @@ -80,19 +81,6 @@ fn dont_ack_initial_configure() { // Don't ack the configure. window.commit(); f.double_roundtrip(id); - - // FIXME: Technically this is a protocol violation but uh. Smithay currently doesn't check it, - // and I'm not sure if it can be done generically in Smithay (because a compositor may not use - // its rendering helpers). I might add a check in niri itself sometime; I'm just not sure if - // there might be clients that this could break. - let window = f.client(id).window(&surface); - assert_snapshot!( - window.format_recent_configures(), - @r" - size: 936 × 1048, bounds: 1888 × 1048, states: [] - size: 936 × 1048, bounds: 1888 × 1048, states: [Activated] - " - ); } #[derive(Clone, Copy)] |
