Skip to content

Commit

Permalink
Merge branch 'rustdesk:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangbo8418 authored Oct 19, 2024
2 parents cdac89e + 547da31 commit e790a3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions flutter/lib/models/state_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,8 @@ class StateGlobal {
if (procWnd) {
final wc = WindowController.fromWindowId(windowId);
wc.setFullscreen(_fullscreen.isTrue).then((_) {
// https://github.com/leanflutter/window_manager/issues/131#issuecomment-1111587982
if (isWindows && _fullscreen.isFalse) {
Future.delayed(Duration.zero, () async {
final frame = await wc.getFrame();
final newRect = Rect.fromLTWH(
frame.left, frame.top, frame.width + 1, frame.height + 1);
await wc.setFrame(newRect);
});
}
// We remove the redraw (width + 1, height + 1), because this issue cannot be reproduced.
// https://github.com/rustdesk/rustdesk/issues/9675
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/lang/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Download", "Herunterladen"),
("Upload folder", "Ordner hochladen"),
("Upload files", "Dateien hochladen"),
("Clipboard is synchronized", ""),
("Clipboard is synchronized", "Zwischenablage ist synchronisiert"),
].iter().cloned().collect();
}

0 comments on commit e790a3f

Please sign in to comment.