Skip to content
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

Mouse cursor isn't affected by display scale on Wayland #103170

Closed
snoopdouglas opened this issue Feb 22, 2025 · 2 comments
Closed

Mouse cursor isn't affected by display scale on Wayland #103170

snoopdouglas opened this issue Feb 22, 2025 · 2 comments
Labels

Comments

@snoopdouglas
Copy link
Contributor

snoopdouglas commented Feb 22, 2025

Tested versions

  • Reproducible in 4.4-rc1 & 4.4-beta3
  • N/A in pre-4.4 versions, as Wayland driver is unavailable

System information

Godot v4.4.rc1 - Void #1 SMP PREEMPT_DYNAMIC Fri Feb 21 16:28:15 UTC 2025 on Wayland - Wayland display driver, Single-window, 1 monitor - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (ADL GT2) - 12th Gen Intel(R) Core(TM) i5-1240P (16 threads)

Issue description

When running under Wayland, Godot doesn't scale the mouse cursor, so it can appear very small.

I'm running GNOME 47 on Wayland with my display scale at 150%. Here's what it looks like:

Image

Here's 100% scale for comparison:

Image

Steps to reproduce

Enable the Wayland driver in the editor settings, and restart the editor.

Minimal reproduction project (MRP)

N/A

@snoopdouglas
Copy link
Contributor Author

I've discovered a workaround for this (or it might be a misconfiguration on my part) - if you're using another distro, it'd be useful to hear whether you're having this problem too.

The workaround is to set XCURSOR_THEME to the name of the mouse cursor theme you're using in your DE.

So, for most people, this will do the trick:

XCURSOR_THEME=Adwaita

@snoopdouglas
Copy link
Contributor Author

Duplicate of #96459.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants