]> git.mdlowis.com Git - proto/labwc.git/commit
ssd: fix incorrect cursor shape on titlebar corner without buttons
authortokyo4j <hrak1529@gmail.com>
Fri, 23 Aug 2024 04:05:13 +0000 (13:05 +0900)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 23 Aug 2024 18:34:03 +0000 (20:34 +0200)
commit9f2eae672ccd0b048717798e413951c729ffe6dd
treef34f19164216251d8ac7892f6681575b1540d4e2
parent23a9df0f30a314853f05148f8feb6664323f0331
ssd: fix incorrect cursor shape on titlebar corner without buttons

Before this commit, the backgrounds of titlebar corners were tagged as
LAB_SSD_PART_CORNER_TOP_{LEFT,RIGHT}, so the cursor shape on titlebar
corners without buttons were north-west or north-east.

This commit fixes it by tagging those backgrounds as
LAB_SSD_TITLEBAR_CORNER_{LEFT,RIGHT}.
include/ssd.h
src/ssd/ssd-titlebar.c