summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2024-04-29 11:37:08 -0400
committerSimon Ser <contact@emersion.fr>2024-04-29 17:47:54 +0200
commit4262e0198957d1c1523f266beb7e79dc3d27f852 (patch)
tree32a0d8a6ad38c16d07459caeae6d1424d827755a /log.c
parentade567683ab84b814af07d1d5e2d19e69424a5da (diff)
downloadswaybg-4262e0198957d1c1523f266beb7e79dc3d27f852.tar.gz
swaybg-4262e0198957d1c1523f266beb7e79dc3d27f852.tar.bz2
Fix fractional scale detection
The fractional scale protocol does not guarantee that a preferred fractional scale value is provided before the surface is mapped. Therefore, use the (integral) output scale value until a fractional scale is available. Also: wl_output.scale is not guaranteed to be sent if the initial output scale is 1 (although Sway always sends it). Set the default output scale value.
Diffstat (limited to 'log.c')
0 files changed, 0 insertions, 0 deletions