fix: if the new configure matches, don't overwrite state with None
This commit is contained in:
parent
ec30b8004f
commit
6c9a2d4e9b
2 changed files with 4 additions and 6 deletions
|
|
@ -395,7 +395,7 @@ impl EventLoop {
|
|||
app.window_event(&self.active_event_loop, window_id, event);
|
||||
}
|
||||
|
||||
if compositor_update.xdg_window_state.is_some() {
|
||||
if compositor_update.xdg_window_state.take().is_some() {
|
||||
let event = WindowEvent::WindowStateChanged;
|
||||
app.window_event(&self.active_event_loop, window_id, event);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue