aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-17 15:37:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-17 15:37:58 +0000
commit2e7102c9563370e5ad160c0f712c90966b4724ce (patch)
treeddba20f978f6619f6d8130036d93933bb86d50ec /selection.c
parentci: fix path to junit report on release builds (diff)
render: fix rounding errors when setting initial window size and scale != 1
An odd cell width/height sometimes resulted in an odd grid size. Combined with a scaling factor of e.g. 2, that led to a rounding error when converting pixel sizes to logical window sizes. As a result, the _next_ configure event would cause us to loose a pixel, which led to us dropping a row from the grid.
Diffstat (limited to 'selection.c')
0 files changed, 0 insertions, 0 deletions