diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-02-07 15:22:33 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-02-07 15:22:33 +0000 |
| commit | bc8c2e01124eea4911df9750583bac11160d4d2c (patch) | |
| tree | b19baade21af90da71921b63d3fab3a7688fddd5 /scripts | |
| parent | input: remove debug logging (diff) | |
wayland: regression: use correct scaling factor when calling render_resize()
When an output property (such as scaling factor) has changed, we need
to call render_resize() to ensure the window surface is correct (for
example, we may have to change its scale).
The width/height parameters are in *logical* pixels (i.e. already
scaled). For render_resize() to work correctly when the scale is being
changed, it needs to be called with *current* logical size. This means
we need to scale our current width/height using the *old* scaling
factor.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
