]> git.mdlowis.com Git - proto/labwc.git/commit
ssd: add ssd_interactive_box()
authorJohan Malm <jgm323@gmail.com>
Mon, 26 Jul 2021 19:06:52 +0000 (20:06 +0100)
committerJohan Malm <jgm323@gmail.com>
Mon, 26 Jul 2021 19:06:52 +0000 (20:06 +0100)
commit399322052b81a0443ceea40f6bd586003d0c3d88
treefa8a3d489b259ddf1cf1fb45303b7387c5488c32
parent82e47ac1f58350c5bb0d749774547855f5efaedf
ssd: add ssd_interactive_box()

...which is used by desktop_view_at() and ssd_at() to determine which
decoration part is under the cursor.

ssd_interactive_box() allows deocoration parts to extend outside the
visible regions, and therefore supports a wider 'resize-edges' area than
the border itself.
include/ssd.h
src/cursor.c
src/ssd.c