diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-09-14 15:34:04 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-09-14 15:36:56 +0000 |
| commit | fdfdbba9a050e36d371f7ece0310d3c62e0eb5d5 (patch) | |
| tree | b9e216bd9c615f9da92b790d3f026c4d4971d622 /doc | |
| parent | config: 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 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 6829b0cb..30c36b51 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -48,7 +48,14 @@ in this order: *initial-window-size-chars* Initial window width and height in _characters_, on the form _WIDTHxHEIGHT_. Mutually exclusive to - *initial-window-size-pixels*. Default: _not set_. + *initial-window-size-pixels*.' + + Note that if you have a multi-monitor setup, with different + scaling factors, there is a possibility the window size will not + be set correctly. If that is the case, use + *initial-window-size-pixels* instead. + + Default: _not set_. *initial-window-mode* Initial window mode for each newly spawned window: *windowed*, |
