]> git.mdlowis.com Git - proto/labwc.git/commit
menu: don't include menu.border.width for menu title height
authortokyo4j <hrak1529@gmail.com>
Tue, 26 Nov 2024 00:44:27 +0000 (09:44 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Tue, 26 Nov 2024 01:05:40 +0000 (10:05 +0900)
commit6b7157f04617b258cc0a13cb8a4b89be5b73b73b
tree9aa4cdc2dc6dd2f5928b8afdc331165dd0c94b84
parent45646c694fc2b6115e9135b595f068a438745162
menu: don't include menu.border.width for menu title height

It was a cruft from my experiment of adding borders around titles.

It even caused an integer overflow because theme->menu_border_width can be
INT_MIN when menu_header_height is calculated.
src/theme.c