mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-18 15:53:00 +08:00
Merge pull request #2657 from Kingtous/master
fix: regrab key from minimize restore on windows
This commit is contained in:
commit
1df9e351c6
@ -148,6 +148,16 @@ class _RemotePageState extends State<RemotePage>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
void onWindowRestore() {
|
||||||
|
super.onWindowRestore();
|
||||||
|
// On windows, we use `onWindowRestore` way to handle window restore from
|
||||||
|
// a minimized state.
|
||||||
|
if (Platform.isWindows) {
|
||||||
|
_isWindowBlur = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
debugPrint("REMOTE PAGE dispose ${widget.id}");
|
debugPrint("REMOTE PAGE dispose ${widget.id}");
|
||||||
|
Loading…
Reference in New Issue
Block a user