-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
It seems like I've found a major bug that could push away a lot of people playing games on Hyprland, It's got to do with mouse locking. Every time I run a game under Wine or Proton, (might not be exclusive to Wine or Proton) after tabbing out for a while and tab back in, the mouse locking is broken. The cursor seems to be still moving. I have tested this under Sway to see if the same behaviour could be observed there and after my testing, I can say that this is exclusively Hyprland behaviour. This doesn't look like It's a Proton or Wine bug, I've tested a lot of games extensively under Sway and Hyprland and It looks like Hyprland has some problems to iron out
Test games were:
Deep Rock Galactic (Proton 7.0-6)
Overwatch 2 (Latest Wine-GE as of 27-05-2023) (DD//MM//YEAR)
Steps to Reproduce:
Open a game run with Proton or Wine
Switch to another workspace for a few minutes, maybe 10 if you want to be sure
Switch back to the game and have your mouse lock ruined
Expected Behaviour
For the mouse not to lose it's mouse locking properties after
Noted Outcome:
Mouse locking breaking after switching to a different workspace
Possible related bugs on the issue tracker:
#1732 (This issue is not the same as my mouse doesn't escape into my other monitor all the time but rather it looks like I am locked between certain regions while in-game which is caused by the mouse getting stuck on the edges of the screen.
It is also worth noting that a similar thing happens on Waydroid while trying to run Roblox on it, though it might be a function on Waydroid not working, since there are issues about that open the Waydroid's Github page too. (Can't test because this stopped working for me, will update if I can test)