Skip to content

Fix scaling change for differently scaled monitors - #358

Open
podulator wants to merge 1 commit into
RustAudio:masterfrom
podulator:double-scaling-x11-fix
Open

podulator wants to merge 1 commit into
RustAudio:masterfrom
podulator:double-scaling-x11-fix

Conversation

@podulator

Copy link
Copy Markdown

Hi there,
Working on some CLAP plugs, and noticed that moving X11 plugin Windows between my very ad-hoc multi-monitor setup caused scaling issues, due to the behaviour of repeated scale change calls.

With a 400x300 window size::
with a suggested scaling of 1.5 - you get 600x450, this patch gets 600x450
Suggest 2.0 scaling, after that (sim move to different scaled monitor) - you get 1200x900, this patch gets 800x600
Suggest another 2.0 scaling - you get 2400x1800, this patch gets 800x600

Let me know if you need anything more :)
Cheers, and thanks for the project :)

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.

1 participant