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:
parent
14cdafb0a8
commit
35c9216ed7
13 changed files with 106 additions and 56 deletions
|
@ -362,7 +362,7 @@ impl PlatformWindow for WaylandWindow {
|
|||
// todo(linux)
|
||||
}
|
||||
|
||||
fn toggle_full_screen(&self) {
|
||||
fn toggle_fullscreen(&self) {
|
||||
if !self.0.inner.borrow().fullscreen {
|
||||
self.0.toplevel.set_fullscreen(None);
|
||||
} else {
|
||||
|
@ -370,7 +370,7 @@ impl PlatformWindow for WaylandWindow {
|
|||
}
|
||||
}
|
||||
|
||||
fn is_full_screen(&self) -> bool {
|
||||
fn is_fullscreen(&self) -> bool {
|
||||
self.0.inner.borrow_mut().fullscreen
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue