gnif / LookingGlass

An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.
GNU General Public License v2.0
4.66k stars 257 forks source link

[client] overlay: realign cursor when turning off overlay #940

Closed quantum5 closed 2 years ago

quantum5 commented 2 years ago

This is only done in non-capture mode to avoid messing up games.

Also, added a redraw after warping. This is because turning off overlay does not involve mouse movement, which means the renderer is not notified of the new cursor position, and thus exposing the fact that the guest cursor is rendered in the wrong location.