NelloKudo / osu-winello

osu! stable installer for Linux with patched Proton-osu and other nice features 8)
GNU General Public License v3.0
344 stars 16 forks source link

Mouse isn't confined to window in Hyprland, and causes the cursor to leave the window if the sensitivity is lower than 1x #84

Closed yorunoken closed 2 months ago

yorunoken commented 2 months ago

video

whrvt commented 2 months ago

it's due to a patch that allows tablet input without artist mode to work on wayland, this message should show up in the logs:

(X)Wayland absolute tablet hack enabled, which may cause cursor teleportation
    export WINE_DISABLE_ABS_TABLET_HACK=1 to disable.

so, just put export WINE_DISABLE_ABS_TABLET_HACK=1 in the ~/.local/bin/osu-wine script, like so:

...
export WINEDLLOVERRIDES=winemenubuilder.exe=d# # Blocks wine from creating .desktop files
export WINE_DISABLE_GLCHILD_HACK=0 # Set this to 1 to fix black top-panel in editor!
export WINE_DISABLE_ABS_TABLET_HACK=1

function Info(){
...
yorunoken commented 2 months ago

worked, thank you!