Conform to wayland spec on resize (#13243)
Fixes https://github.com/zed-industries/zed/issues/10976 Release Notes: - N/A Co-authored-by: conrad <conrad@zed.dev>
This commit is contained in:
parent
17bc0d1b17
commit
d4891a62bb
2 changed files with 39 additions and 20 deletions
|
@ -803,7 +803,7 @@ impl Workspace {
|
|||
.await;
|
||||
this.update(&mut cx, |this, cx| {
|
||||
if let Some(display) = cx.display() {
|
||||
if let Some(display_uuid) = display.uuid().log_err() {
|
||||
if let Some(display_uuid) = display.uuid().ok() {
|
||||
let window_bounds = cx.window_bounds();
|
||||
if let Some(database_id) = workspace_id {
|
||||
cx.background_executor()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue