cursor:no_warps causes focus to get stuck on window capturing mouse
#12175
Unanswered
DerEchteJoghurt
asked this question in
Bugs - Input
Replies: 1 comment
-
|
you can switch the workspace I guess |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This was already an issue at #9075, but was closed when moving to discussions. I just tried this on the latest version of Hyprland and the problem is still present. This is mostly a copy-paste from my previous issue.
Hyprland version
Version info
Regression?
No
Description
When setting
cursor:no_warpstotrueand attempting to switch focus from a window capturing the mouse (Cyberpunk 2077 in this case), 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_warpstotrueAdditional 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_warpstotrue:hyprland.conf
Expected behavior (XOrg with BSPWM):
2025-01-15.20-37-58.mp4
Beta Was this translation helpful? Give feedback.
All reactions