]> git.mdlowis.com Git - proto/labwc.git/commit
ssd: fix pixman error when SSD is created for tiny windows
authortokyo4j <hrak1529@gmail.com>
Mon, 18 Nov 2024 22:18:36 +0000 (07:18 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 1 Dec 2024 19:11:14 +0000 (19:11 +0000)
commit5847508eb25bb465a6a6cc2c2447c85e03db0198
treea2aa89f1639a5af65eb89506f3423af4705e3a9e
parent23582c814ed094e145ec7c3d0d4ea78b08febe5e
ssd: fix pixman error when SSD is created for tiny windows

set_squared_corners(false) was always called when titlebar is created.
However, set_squared_corners(false) sets the width of the titlebar
background buffer to (view width) - (corner radius), which causes pixman
errors due to the negative width set for titlebar background buffer when
the view is so small.
src/ssd/ssd-titlebar.c