aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate-alt-random-writes.py
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-13 18:15:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-12-13 18:15:17 +0000
commit97174913e09db464d3020c50cbf223d2fe823d3d (patch)
treecb33fde7043746f2b408f4b7d39cab0663eda6de /scripts/generate-alt-random-writes.py
parentinput: kitty: return the result of term_to_slave() (diff)
wayland: estimate scaled (logical) width/height, if not provided
This makes us slightly more resilient against a missing XDG output interface. We use the “real” (the physical) dimensions, combined with the scaling factor, to estimate the logical dimensions. This works out correctly with non-fractional scaling, but not otherwise.
Diffstat (limited to 'scripts/generate-alt-random-writes.py')
0 files changed, 0 insertions, 0 deletions