Skip to content

Conversation

@jinliu
Copy link

@jinliu jinliu commented Jan 20, 2026

…reset width in fractional scaling

Kwin might adjust the logical window width to a fractional number, so it lands at integer physical pixels. (E.g. from 939 to 939.2 at 2.5x scaling, so we would again try to decrease width from 939.2 to 939, with no visible effect).

Fixed by requiring new width to be at lease 1px different from the current one.

BUG: #151

…reset width in fractional scaling

Kwin might adjust the logical window width to a fractional number, so it lands at integer physical pixels.
(E.g. from 939 to 939.2 at 2.5x scaling, so we would again try to decrease width from 939.2 to 939, with
no visible effect).

Fixed by requiring new width to be at lease 1px different from the current one.

BUG: peterfajdiga#151
@jinliu
Copy link
Author

jinliu commented Jan 20, 2026

Maybe we would want to make DELTA configurable, e.g., we'd skip resizing that changes less than 10px.

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