Skip to content

Conversation

@ii8
Copy link
Owner

@ii8 ii8 commented Dec 11, 2025

No description provided.

@nglibc
Copy link

nglibc commented Dec 12, 2025

I get the following pixel data corruption when changing the scale using wlr-randr. I usually need to do several re-scales (eg. from 2.1 to 2.0 to 1.9 to 1.8 etc) to trigger the data corruption because it doesn't happen on every rescale.

This might be because fs_preferred_scale does not trigger a re-init of the pixel buffer.

The problem appears to be fixed if I add "term.resize = 2;" after "term.need_redraw = true;" in the fs_preferred_scale function.

20251212_13h52m54s_grim

Co-authored-by: Xan Phung <xan.dot.phung@gmail.dot.com>
@ii8 ii8 force-pushed the fractional-scale branch from cc82a6c to c0919e2 Compare December 15, 2025 17:53
@ii8
Copy link
Owner Author

ii8 commented Dec 15, 2025

Ah when the scale changes but the columns and rows stay the same it didn't always redraw, should be fixed.

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.

3 participants