]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: offset xdg invisible border when dragging outside view
authorJohan Malm <jgm323@gmail.com>
Tue, 24 May 2022 16:49:21 +0000 (17:49 +0100)
committerJohan Malm <jgm323@gmail.com>
Tue, 24 May 2022 16:49:21 +0000 (17:49 +0100)
commit81810db3b62501e7aa5517bd72d96a94ac970b69
tree2c0be429dd4220870d1bfd8d751698bc57ce14ca
parent6dd290afc9fd009a6631df4a057f385d1c01a403
cursor: offset xdg invisible border when dragging outside view

Note: view->padding was deleted in commit b279550 as the wlroots
scene-graph xdg-surface commit handler offsets the CSD invisible border.
If view->padding still existed, we could have used that, but considering
that this is probably the only place where this offset will now be
needed (because we're generating surface local coordinates), it's simpler
to just do it locally.

Related to issue #340

Written-by: @Consolatis
src/cursor.c