Consolatis
7cc80b7a99
src/action.c: Provide generic parsing of XML action arguments
...
.. and use it within src/config/rcxml.c and src/menu/menu.c.
This fixes being unable to use the `direction` argument in menu entries.
Reported-by: mahk via IRC
2022-12-10 19:55:53 +00:00
John Lindgren
4906d1833a
action: Inline private/action.h into action.c
...
There is no need for a header since the types defined in it are
used only in action.c.
2022-11-25 22:32:22 +00:00
Johan Malm
e45e2c7e60
Fix coding style
2022-11-03 23:01:52 +01:00
Consolatis
9b49f19a73
src/action.c: Convert action->arg to a list of action_arg
...
In preperation for Actions that require multiple arguments
2022-07-04 16:19:28 +01:00
Consolatis
953e8a4f9d
[style] rename action() to actions_run()
2022-02-24 21:17:51 +00:00
Consolatis
f0a3f365e5
Centralize freeing of action lists
...
Reduces some code duplication and makes it easier to extend struct action
2022-01-23 10:36:04 -05:00
Johan Malm
3c92cc4dd0
Move action() prototype from labwc.h to action.h
2022-01-05 21:27:47 +00:00
Johan Malm
3bd65c3a20
action.{c,h}: fix coding style
2022-01-05 21:23:01 +00:00
Consolatis
0b45cce648
Rewrite action handling to allow multiple actions at once
2022-01-05 16:22:41 +00:00