Add "Close Window" global action which does not need a focused workspace
This commit is contained in:
parent
2df2d09e3c
commit
3819a67185
2 changed files with 13 additions and 1 deletions
|
@ -875,7 +875,7 @@ impl MutableAppContext {
|
|||
}
|
||||
|
||||
pub fn window_ids(&self) -> impl Iterator<Item = usize> + '_ {
|
||||
self.cx.windows.keys().cloned()
|
||||
self.cx.windows.keys().copied()
|
||||
}
|
||||
|
||||
pub fn activate_window(&self, window_id: usize) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue