mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 11:35:56 +00:00
feat: add specific keyboard hook
This commit is contained in:
@@ -630,8 +630,17 @@ class _RemotePageState extends State<RemotePage>
|
||||
id: widget.id,
|
||||
));
|
||||
}
|
||||
return Container(
|
||||
color: MyTheme.canvasColor, child: Stack(children: paints));
|
||||
paints.add(getHelpTools());
|
||||
return MouseRegion(
|
||||
onEnter: (evt) {
|
||||
_ffi.bind.hostStopSystemKeyPropagate(stopped: false);
|
||||
},
|
||||
onExit: (evt) {
|
||||
_ffi.bind.hostStopSystemKeyPropagate(stopped: true);
|
||||
},
|
||||
child: Container(
|
||||
color: MyTheme.canvasColor, child: Stack(children: paints)),
|
||||
);
|
||||
}
|
||||
|
||||
int lastMouseDownButtons = 0;
|
||||
|
||||
Reference in New Issue
Block a user