Support globals with higher advertised versions than supported

Fixes launching on Gnome.
This commit is contained in:
Shawn Wallace 2024-06-11 21:44:57 -04:00
parent 5e7f2df05e
commit 017b683af9
3 changed files with 57 additions and 5 deletions

View file

@ -137,7 +137,7 @@ impl Fixture {
ready = our_data.display.lock().unwrap().is_some();
}
assert!(ready, "connecting to xwayland");
assert!(ready, "connecting to xwayland failed");
let display = our_data.display.lock().unwrap().take().unwrap();
Self {