mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
Restore SnapToEdge and MoveToEdge default keybinds
When adding the fallback keybinds we add them as string but expect them being an int.
This commit fixes that by using the same parsing routines that are used when parsing
user supplied configuration.
Fixes 1ee8715d57
actions: use enum for _ToEdge action
This commit is contained in:
parent
8d0ee4811b
commit
43db75f43c
3 changed files with 6 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ bool action_is_valid(struct action *action);
|
|||
|
||||
void action_arg_add_str(struct action *action, const char *key, const char *value);
|
||||
|
||||
void action_arg_from_xml_node(struct action *action, char *nodename, char *content);
|
||||
void action_arg_from_xml_node(struct action *action, const char *nodename, const char *content);
|
||||
|
||||
bool actions_contain_toggle_keybinds(struct wl_list *action_list);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue