Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More carefully release mouse buttons on close
Only the client that currently has buttons pressed should actually send a release event as the client might not be currently in control of the pointer state. This is most clearly seen in a client that hasn't event authenticated properly yet. Approximate this from the server by using the last known server cursor position. It should hopefully not differ much from the last client provided position. Follow-up to 986280b.
- Loading branch information