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

Getting error when in fullscreen games or in dropdown menus: "Failed to grab cursor after 5 tries, giving up" #37

Closed
Goosegit11 opened this issue Aug 4, 2023 · 1 comment

Comments

@Goosegit11
Copy link

Goosegit11 commented Aug 4, 2023

See this issue for explanation: naelstrof/maim#283

github-issue2.mp4
@9ary
Copy link
Member

9ary commented Aug 4, 2023

Unfortunately this is not a bug, but a technical limitation. Dropdown menus and games request exclusive control of the cursor (they "grab" the cursor), but tools like hacksaw and slop (which maim uses as a library) also need to do this. Even without grabbing the cursor in hacksaw, we wouldn't be able to get any input while something else is holding a grab, so there is no way to fix this.

@9ary 9ary closed this as completed Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants