aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-14 15:34:04 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-14 15:36:56 +0000
commitfdfdbba9a050e36d371f7ece0310d3c62e0eb5d5 (patch)
treeb9e216bd9c615f9da92b790d3f026c4d4971d622 /scripts
parentconfig: add tweak.scaling-filter (diff)
render: best-effort attempt to set initial window size in chars when scale != 1
The initial window size is set *before* we’re initially mapped. This means we don’t (yet) know on which output we’ll be mapped. _That_ means we don’t know which scaling factor to use. This implements a best effort attempt, where we use the “guessed” scaling factor. This will always be correct in single-monitor configurations, but may be wrong in multi-monitor setups with different scaling factors.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions