cursor:no_warps
causes focus to get stuck on window capturing mouse (Cyberpunk 2077)
#9075
Open
4 of 6 tasks
Labels
bug
Something isn't working
Already reported ? *
Regression?
I don't know, I started using Hyprland only recently
System Info and Hyprland Version
System/Version info
Description
When setting
cursor:no_warps
totrue
and attempting to switch focus from Cyberpunk 2077, the focus immediately jumps back to the game. The same happens when switching workspaces to another monitor. See attached video.I assume this works with cursor warps because when warping the cursor, the game no longer captures the mouse?
I've used XOrg with BSPWM in the past, where switching focus detaches the mouse from the window, allowing it to be moved freely. I attached a video as reference for this as well.
How to reproduce
cursor:no_warps
totrue
Attach not paste
Checklist of files to include below
hyprctl systeminfo -c
(always include)Additional info & File uploads
When attempting to move focus (you can see the focus jump to the other window for a split second and then jump back to the game):
2025-01-15.19-50-04.mp4
I was able to reproduce this with the following config which is the auto generated one but only sets
cursor:no_warps
totrue
:hyprland.conf
Expected behavior (XOrg with BSPWM):
2025-01-15.20-37-58.mp4
The text was updated successfully, but these errors were encountered: