refact: macos, hide&show on leaving view (#8712)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2024-07-15 10:50:54 +08:00 committed by GitHub
parent 3f11d9cdb6
commit eec879a801
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -416,6 +416,10 @@ class _RemotePageState extends State<RemotePage>
}
void leaveView(PointerExitEvent evt) {
if (isMacOS) {
DesktopMultiWindow.hideShow();
}
if (_ffi.ffiModel.keyboard) {
_ffi.inputModel.tryMoveEdgeOnExit(evt.position);
}

View File

@ -335,7 +335,7 @@ packages:
description:
path: "."
ref: HEAD
resolved-ref: "60773827434eefe6d01eefa814dca9a032b970b3"
resolved-ref: "53fee59855c44f35381428c9fb7c7678f700d11d"
url: "https://github.com/rustdesk-org/rustdesk_desktop_multi_window"
source: git
version: "0.1.0"