diff --git a/plugins/src/pop_shell/mod.rs b/plugins/src/pop_shell/mod.rs index 524d760..c342fe0 100644 --- a/plugins/src/pop_shell/mod.rs +++ b/plugins/src/pop_shell/mod.rs @@ -97,14 +97,14 @@ impl App { async fn activate(&mut self, id: u32) { if let Some(id) = self.entries.get(id as usize) { let entity = id.entity; - let _ = self.call_method("WindowFocus", &(entity,)); + let _ = self.call_method("WindowFocus", &(entity,)).await; } } async fn quit(&mut self, id: u32) { if let Some(id) = self.entries.get(id as usize) { let entity = id.entity; - let _ = self.call_method("WindowQuit", &(entity,)); + let _ = self.call_method("WindowQuit", &(entity,)).await; } }