]> git.mdlowis.com Git - proto/labwc.git/commit
view: fix view_get_adjacent_output() bug
authorJohan Malm <jgm323@gmail.com>
Sat, 2 Mar 2024 15:34:52 +0000 (15:34 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 2 Mar 2024 21:23:01 +0000 (21:23 +0000)
commit7e338fc365d49f7ffb6bbb3050a142d05f373b59
tree612e030d042d70a507162f352824b09d97eb4b32
parent1ea7e8b4944d56d21e08d409212e07a15c5f5c09
view: fix view_get_adjacent_output() bug

...when using more than two outputs.

Use the centre of the view's output as the reference coordinate when
seeking adjacent outputs.

Fixes: #1582
src/view.c