aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Kenny Levinsen <kl@kl.wtf>2021-02-08 00:51:10 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2021-02-09 09:37:10 +0100
commitcf1e3be22813d343ec177d48a926d7d9104230dd (patch)
treee2c47101f4db1aa439951dbefa10ea0dcb006881 /include
parentswaynag: Use position from wl_pointer.enter (diff)
downloadsway-cf1e3be22813d343ec177d48a926d7d9104230dd.tar.gz
sway-cf1e3be22813d343ec177d48a926d7d9104230dd.tar.zst
sway-cf1e3be22813d343ec177d48a926d7d9104230dd.zip
view: Save surface x and y on saved buffers
We need to use surface_x and surface_y when rendering and damaging saved buffers as these compensate for views that have been centered due to being smaller than their container. Add them to the surface positions on the saved buffer so we have the values from the time the buffer was saved.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions