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

Grabbed mouse is set to very inconvenient position #858

Open
rtificr opened this issue Nov 8, 2024 · 0 comments
Open

Grabbed mouse is set to very inconvenient position #858

rtificr opened this issue Nov 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rtificr
Copy link

rtificr commented Nov 8, 2024

When set_cursor_grab(true) is called, the mouse is set to a position that would be something like screen_width/2, screen_width/2, though the placement of it doesn't place it in the center of the window, but rather the center of the window if the window was as tall as it is wide. The mouse should instead be set to screen_width/2, screen_height/2.
The main problem is that it highlights apps on my taskbar, which is an eyesore and opens the app whenever I click.

I'm using MacOS Sequoia 15.1.

diagram

@not-fl3 not-fl3 added the bug Something isn't working label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants