]> git.mdlowis.com Git - proto/labwc.git/commit
menu: run actions on button release
authorJohan Malm <jgm323@gmail.com>
Thu, 28 Dec 2023 22:44:59 +0000 (22:44 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 11 Jan 2024 20:31:24 +0000 (20:31 +0000)
commite9023f51c6d92914aa9ad9f4614006f9f6cf47a9
tree86971d20717ff5905bbf5bbe64305d97297c6d52
parentcc8f4f943ab06ad99565026a600a26b74ee9955a
menu: run actions on button release

...and call actions after closing menus so that virtual keyboard input
caused by actions are sent to the surface with keyboard-focus rather
than being consumed by the open menu.

Fixes: #1366
src/input/cursor.c
src/input/keyboard.c
src/menu/menu.c