-
-
Notifications
You must be signed in to change notification settings - Fork 772
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
Game: cursor warps to center when it's near screen edges #6078
Comments
+1 I need at least these to get the cursor in SC not rubberbanding or jumping "on click/scroll mouse inputs":
While that fixes the warp issues it leaves me with broken hover features and non-selectable/-clickable ui elements. In the center of the screen there seems to be a box in which dragging items behaves differently (drag ghost outline visible inside box, not outside). There's all kinds of funky stuff and within a rootful and -host-grab Xwayland session i noticed that toggling grab (ctrl+shift) switches between the two observed modes of broken (click-jumpy-cursor vs edge-pan-jump and no-hover). |
Here are the relevant hyperlogs of opening the interaction menu, then hitting the screen edge (surface gets removed, cursor warps to center).
|
I'm also having trouble in hyprland with star citizen. for me it's warping to the bottom right corner whenever i interact with a 2D design element. so inventory management is a pain, as is selecting lift destinations, as is vehicle management etc. it isn't a problem on other window managers like plasma. sadly running Xwayland in full screen with a different window manager causes other unrelated issues, like not responding until the mouse hits the edges in fps mode or not capturing the mouse at all in fps mode so that it runs away onto my second screen. (actually scratch that, plasma wayland is waaaay worse, pinning the mouse entirely in the bottom right, X11 window managers are better). |
I have zero issues with the mouse cursor anymore in Star Citizen. Not sure what fixed it. |
Great. For me nothing changed ¯_(ツ)_/¯ |
Sucks. I have nothing special in my Hyprland config anymore when it comes to mouse sensitivity or warp settings. You can try tweaking mouse sensitivity in SC though. I am using Lutris, with latest Wine as runner and mouse warping disabled. I use arch btw. |
I'll try some more. Didn't get it to run through vanilla Wine yet, only wine-ge 8.26 and wine-lutris-GE-proton 8.26 and such. Need to check if there's an update for them. Runner options | Mouse Warp Override : disable Relating hyprland.conf Issues are:
It's playable but pretty annoying. I'll check again if vanilla Wine works now and if there's updates to the runners that i can get through lug-helper... |
Your config looks similar to mine. I had most of these issues as well. Might indeed be the vanilla wine then that fixes things 🤞 |
Vanilla Wine 9.13 just gives me a JavaScript error. But i fear this goes quite off-topic now.. 👀 /edit/update THANKS @krims0n32 for sticking around, isolating the difference. This is awesome! \o/ |
Woop woop! |
Hyprland Version
System/Version info
Bug or Regression?
Bug
Description
Game is Star Citizen, running in Wine. Fullscreen mode or borderless window.
When you move the mouse to the screen edges, the cursor is being warped to the center of the screen, except for the upper edge (I have two monitors above the one I game on). See video.
I'm trying to pinpoint if this is a game/wine issue or a Hyprland thing. It is affected by Hyprlands mouse acceleration setting, when enabled (default settings) the issue happens even before hitting the screen edges. With acceleration disabled you get the behaviour in the video. It only happens when using "interaction mode", it doesn't happen in the games' options menu for example.
I've been trying various Hyprland options,
no_warps
andoff_window_axis_events
have no effect.Maybe this is related to #6035 ?
How to reproduce
Let me know what I can do to debug this issue :)
Crash reports, logs, images, videos
sc-cursor-warp.webm
The text was updated successfully, but these errors were encountered: