Fix window restoration bugs (#9358)

- [x] fixes https://github.com/zed-industries/zed/issues/9349
- [x] fixes https://github.com/zed-industries/zed/issues/4656
- [x] fixes https://github.com/zed-industries/zed/issues/8345

Release Notes:

- TODO
This commit is contained in:
Mikayla Maki
2024-03-14 14:25:12 -07:00
committed by GitHub
parent 14cdafb0a8
commit 35c9216ed7
13 changed files with 106 additions and 56 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ impl platform::Window for StatusItem {
}
}
fn toggle_full_screen(&self) {
fn toggle_fullscreen(&self) {
unimplemented!()
}
+2 -2
View File
@@ -941,7 +941,7 @@ impl PlatformWindow for MacWindow {
.detach();
}
fn toggle_full_screen(&self) {
fn toggle_fullscreen(&self) {
let this = self.0.lock();
let window = this.native_window;
this.executor
@@ -953,7 +953,7 @@ impl PlatformWindow for MacWindow {
.detach();
}
fn is_full_screen(&self) -> bool {
fn is_fullscreen(&self) -> bool {
let this = self.0.lock();
let window = this.native_window;