]> git.mdlowis.com Git - proto/labwc.git/commit
Revert "menu: slightly slide menus opened from buttons"
authortokyo4j <hrak1529@gmail.com>
Sun, 8 Dec 2024 07:05:53 +0000 (16:05 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Sun, 8 Dec 2024 07:55:16 +0000 (16:55 +0900)
commit21bd5b0025dac3d524551fcd5caa6658a740aa0a
tree404f727b901bbcb4ff0a6a4c14f75b1a4c633596
parent2ade6a1e85a22a640452ed38d94ae66b0243f281
Revert "menu: slightly slide menus opened from buttons"

With 2ade6a1, negative x-values can be passed to menu_configure() when the
window menu is opened from top-left button in a maximized window, but
wlr_output_layout_output_at() couldn't find the output for the coordinate
since it's out of the output layout, thus it just opened the menu without
updating its position.

As the next release is close and the visual improvement by 2ade6a1 is not
very impactful for UX, let's revert it for now.
src/action.c