Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VNCServerST: Add a timeout to pointer button ownership #1718

Merged

Commits on Jan 22, 2024

  1. VNCServerST: Add a timeout to pointer button ownership

    When one clients holds down a button on the pointer device (probably
    dragging something), other clients' attempts at pointer operations
    are denied. This yields a sane user experience, but with limits.
    
    When one clients starts dragging, and then his network connection fails,
    other clients are denied access to the pointer until the VNC server
    finally discovers that the connection is dead and closes it. This can
    take about 15 minutes.
    
    Add a timeout to this policy: If we don't hear from the client for 3
    seconds, other clients are allowed to control the pointer once more.
    
    This solves the problem that one failing network could make the server
    completely deaf to other clients for a long time.
    
    Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
    MikeLooijmans committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    71c83b4 View commit details
    Browse the repository at this point in the history