mirror of
https://github.com/figsoda/mmtc
synced 2024-11-22 07:03:05 +00:00
unpark main thread on resize
This commit is contained in:
parent
843b3967c9
commit
0a1d805868
1 changed files with 1 additions and 0 deletions
|
@ -185,6 +185,7 @@ async fn run() -> Result<()> {
|
|||
Event::Mouse(MouseEvent::ScrollUp(..)) => Command::Up,
|
||||
Event::Resize(..) => {
|
||||
updates3.fetch_or(0b001, Ordering::Relaxed);
|
||||
t3.unpark();
|
||||
continue;
|
||||
}
|
||||
Event::Key(KeyEvent { code, modifiers }) => match code {
|
||||
|
|
Loading…
Reference in a new issue