Commit 70f9d96
committed
Calculate initial GTK window size using logical DPI
Otherwise, if the pixel ratio is changed before the window is created,
the window will be scaled up an extra time. This occurs on GTK3, but not
GTK4, due to some different order of events, but I changed the GTK4
backend to do the same for consistency.1 parent 90d17a3 commit 70f9d96
2 files changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | | - | |
| 343 | + | |
345 | 344 | | |
346 | 345 | | |
347 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
| 290 | + | |
292 | 291 | | |
293 | 292 | | |
294 | 293 | | |
| |||
0 commit comments