main: hidpi: config values are absolute
Before adoption: this commit came in with the history the project adopted, so no landing records it.
That is, instead of scaling up everything, use the configuration values as is. This allows the user to, for example, configure a 1px border also on a HiDPI screen. Now, the surface width/height, must then be *divided* by the scaling factor since normally, the surface geometry is absolute, and the rest is scaled. We do the opposite.
authored by Daniel Eklöf · committed by Daniel Eklöf · parent a61eb3e · Browse files · 1 file+19 added−18 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+19 added−18 removed
- other:+19 added−18 removed