refactor to get around weird behavior when dropping, and excessive window resizes
This commit is contained in:
parent
94a01a3f52
commit
6989b2a180
4 changed files with 149 additions and 47 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue