-
-
Notifications
You must be signed in to change notification settings - Fork 884
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
Pointer / Cursor / Mouse warping / teleportation doesn't damage old location. #8142
Comments
I assume these are software cursors..? |
I don't know for sure. I'm on NVIDIA, and after reviewing my config, I see I forgot the After adding this line to the config, I still see this glitch happening. So now, yes for sure it happens with software cursors, but it might also happen with hardware cursors (I don't even know if that's possible?). |
I'm pretty sure it's not possible thats why I was assuming these arent hw |
Already reported ? *
Regression?
No
System Info and Version
System/Version info
Description
When teleporting the cursor with SDL3 by calling
SDL_WarpMouseInWindow(window, x, y)
(which is implemented here), the mouse does warp, but the cursor is still also ghosting in its location before the warp. Note that the window is not constantly submitting frames to the compositor (it's not a game).I don't know the internals of Hyprland, but it looks like there is a region of the screen not being correctly marked as damaged. So every other frame in the compositors swapchain, you get the old cursor show up.
How to reproduce
Make the mouse teleport more than one tile.
Crash reports, logs, images, videos
Wayfarer_2024-10-17_114022.webm
You can also see how sometimes the cursor is cut in half when it's ghosting. I'm assuming that's across the edge of a tile (where one tile is marked damaged, and the other is not).
The text was updated successfully, but these errors were encountered: