refactor to get around weird behavior when dropping, and excessive window resizes

This commit is contained in:
Ashley Wulber 2021-12-22 17:23:18 -05:00
parent 94a01a3f52
commit 6989b2a180
4 changed files with 149 additions and 47 deletions

View file

@ -79,7 +79,7 @@ fn spawn_launcher(tx: Sender<Event>) -> IpcClient {
if let Ok(reply) = m.body::<Vec<Item>>() {
let _ = sender.send(Event::WindowList(reply)).await;
}
Timer::after(Duration::from_secs(1)).await;
Timer::after(Duration::from_millis(200)).await;
}
}
});