Track active window id in test platform

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2023-04-20 17:20:52 +02:00
parent d9bb37c649
commit 0d5eea8169
4 changed files with 30 additions and 13 deletions

View file

@ -601,7 +601,7 @@ impl platform::Platform for MacPlatform {
Window::main_window_id()
}
fn add_status_item(&self) -> Box<dyn platform::Window> {
fn add_status_item(&self, _id: usize) -> Box<dyn platform::Window> {
Box::new(StatusItem::add(self.fonts()))
}