]> git.mdlowis.com Git - proto/labwc.git/commit
Fix crash when using _ToEdge actions when using the default keybinds
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 6 Aug 2023 07:47:37 +0000 (09:47 +0200)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 6 Aug 2023 08:37:36 +0000 (10:37 +0200)
commit8d0ee4811b3d15e98ce879ed5c68562357bfab86
tree6622b71c8daaab182be3f5d76b016b30ffa1504e
parent2c14a5a4060832c683d4fb3e19b43169fb87ce5b
Fix crash when using _ToEdge actions when using the default keybinds

This happens because of two separate bugs:
- The action validation failed to verify the data type of the argument
- When adding the fallback keybinds we add them as string but expect them being an int

This commit fixes the first bug.

Fixes 1ee8715d57ddb6b444e0b089879db6f837400539
actions: use enum for _ToEdge actions
src/action.c