We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03335ce commit 4070608Copy full SHA for 4070608
CHANGELOG.md
@@ -1,4 +1,5 @@
1
# Unreleased
2
+- On X11, fix deadlock when calling `set_fullscreen_inner`.
3
- On Web, prevent the webpage from scrolling when the user is focused on a winit canvas
4
5
- On Wayland, fix deadlock when calling to `set_inner_size` from a callback.
src/platform_impl/linux/x11/window.rs
@@ -640,6 +640,7 @@ impl UnownedWindow {
640
let flusher = self.set_fullscreen_hint(false);
641
let mut shared_state_lock = self.shared_state.lock();
642
if let Some(position) = shared_state_lock.restore_position.take() {
643
+ drop(shared_state_lock);
644
self.set_position_inner(position.0, position.1).queue();
645
}
646
Some(flusher)
0 commit comments