aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-26 11:26:03 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-26 11:26:03 +0000
commit135ca0884d3ae5ee8e0a9f9f72b78b6b52b14ded (patch)
tree66ea312b93957190937bddff633fad7ac0b50d12 /render.c
parentwayland: instantiate sub-surfaces on-demand (diff)
wayland: configure: adjust configured size when using CSDs
The size (width, height) arguments provided by the compositor in the XDG toplevel configure event *include* the surrounding CSDs. Since our code assumes the size is for the main surface only (and then positions the sub-surfaces *outside* the main surface), adjust the provided size when using CSDs. This ensures our actual window size ends up being what the compositor wants it to be, and it fixes resize-glitches when resizing using CSDs.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions