XWayland Cursor isn't captured by application until it leaves the boarder of the application #9480
Open
5 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 running Unreal Engine 5 using XWayland, the mouse cursor isn't getting captured by the program until it reaches the boarder of the application. I can confirm that this is a Hyprland issue, as running Unreal on XWayland in KDE does not produce this issue.
The behavior in Hyprland
Hyprland_Unreal_Behavior_v002.mp4
The behavior in KDE
KDE.Unreal.Behavior.mp4
I know there are similar issues already open, most notably #2127 , however, the solutions here don't fix the problem with the XWayland version of Unreal in Hyprland. Running Unreal in Wayland, as suggested in that issue, does correct the problem, but it leads to other issues with crashing that make the program unusable practically. Those issues, however, are not related to Hyprland as they also occur in KDE. As such, I'm trying to get the XWayland behavior in Hyprland to match that in KDE.
I also know downloading Unreal to test this on your end is unpractical, just hoping the behavior around the window edges could provide an idea to the possible cause.
I've tried various settings tweaks, all options of
no_hardware_cursor
,follow_mouse
,allow_input
as well as others based off of potentially similar issues I've found in my search. None of those yielded anything, so I went back to a fully default config for simplicity for the issue.The attached log is me opening up the Unreal Project and doing the same thing I do in the Hyprland example video, clicking and dragging the numbers at the "Details" section until it leaves the boarder and responds as it should. It doesn't match the video exactly as I didn't want to clutter the logs with the screen recording process.
If there's any more information you need just let me know!
hyprland.log
How to reproduce
Attach not paste
Checklist of files to include below
hyprctl systeminfo -c
(always include)Additional info & File uploads
No response
The text was updated successfully, but these errors were encountered: