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

Add cursor scaling for HiDPI displays #235

Merged
merged 1 commit into from
May 21, 2024

Conversation

hoshino873
Copy link
Contributor

@hoshino873 hoshino873 commented Mar 3, 2024

I know that when GDK_SCALE is set to '2', the mouse cursor does not respect it. So I added support for cursor scaling when HiDPI is enabled.

Here is my slick-greeter.conf I checked it with:

[Greeter]
background=/usr/share/backgrounds/linuxmint-victoria/lherrera_retro.jpg
cursor-theme-name=Yaru
draw-user-backgrounds=false
enable-hidpi=auto
icon-theme-name=Mint-Y
show-hostname=false
theme-name=Mint-Y

HiDPI is enabled (3840x2160):
Screenshot-2024-03-03-01-50-14
HiDPI is disabled (1920x1080):
Screenshot-2024-03-03-01-58-30

@mtwebster mtwebster merged commit 34ca9b3 into linuxmint:master May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants