Centralize freeing of action lists

Reduces some code duplication and makes it easier to extend struct action
This commit is contained in:
Consolatis 2022-01-23 13:46:46 +01:00 committed by ARDiDo
parent 8e9643a855
commit f0a3f365e5
4 changed files with 14 additions and 17 deletions

View file

@ -12,6 +12,7 @@ struct action {
};
struct action *action_create(const char *action_name);
void action_list_free(struct wl_list *action_list);
void action(struct view *activator, struct server *server,
struct wl_list *actions, uint32_t resize_edges);