mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
[client] input: fix automatic keyboard capture
Treat autoCapture as keyboard ownership while the pointer is inside the guest viewport. Predict the next local position for both absolute and relative motion, then release the keyboard before the pointer crosses an edge. Keep capture, focus, and deferred evdev transitions consistent while retaining the latest local position as the prediction baseline.
This commit is contained in:
@@ -328,7 +328,7 @@ All command line options
|
||||
+------------------------------+-------+---------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| input:mouseTrace | | no | Enable mouse input diagnostics |
|
||||
+------------------------------+-------+---------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| input:autoCapture | | no | Try to keep the mouse captured when needed |
|
||||
| input:autoCapture | | no | Grab the keyboard in the guest view and release it before exit |
|
||||
+------------------------------+-------+---------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| input:captureOnly | | no | Only enable input via SPICE if in capture mode |
|
||||
+------------------------------+-------+---------------------+----------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user