aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@posteo.net>2021-08-17 15:20:37 +0300
committerSimon Ser <contact@emersion.fr>2021-08-18 16:01:18 +0200
commit109405729b5a384b08f2faf6196e8a31041eab8f (patch)
treeae6da056fe01dc8af7be79312a30473b090259c5 /include
parentcdd9a60f72e1067e3b7b0ad1846e83f489e51be2 (diff)
surface: fix place_below handling
If a subsurface is being placed below a subsurface right above it, this should be a noop. However, `node` pointed to the subsurface that was moved, which resulted in `subsurface->parent_pending_link` being inserted into itself, breaking parent's pending subsurface list. This commit separates finding the requested node and getting it's `prev` field, fixing the issue.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions