]> git.mdlowis.com Git - proto/labwc.git/commit
menu: slightly slide menus opened from buttons
authortokyo4j <hrak1529@gmail.com>
Fri, 6 Dec 2024 04:57:50 +0000 (13:57 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 6 Dec 2024 05:56:26 +0000 (05:56 +0000)
commit2ade6a1e85a22a640452ed38d94ae66b0243f281
treec76966f0eb14a87fb1d54b61cbb6a874169cc28e
parent64bb57afa22b4ecded17a271392964b35e8d780f
menu: slightly slide menus opened from buttons

This commit slides menus opened from buttons (with atCursor="no") to the
left by menu.border.width. This makes the location of the window menu
look more natural, especially when it's opened from the window icon in
the left corner of the titlebar.
src/action.c