2022-01-05 09:11:24 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
|
#ifndef __LABWC_ACTION_H
|
|
|
|
|
#define __LABWC_ACTION_H
|
|
|
|
|
|
2022-01-05 21:27:47 +00:00
|
|
|
struct server;
|
|
|
|
|
struct view;
|
|
|
|
|
|
2022-01-05 09:11:24 +01:00
|
|
|
struct action {
|
|
|
|
|
uint32_t type;
|
|
|
|
|
char *arg;
|
|
|
|
|
struct wl_list link;
|
|
|
|
|
};
|
|
|
|
|
|
2022-01-05 21:23:01 +00:00
|
|
|
struct action *action_create(const char *action_name);
|
2022-01-05 09:11:24 +01:00
|
|
|
|
2022-01-05 21:27:47 +00:00
|
|
|
void action(struct view *activator, struct server *server,
|
|
|
|
|
struct wl_list *actions, uint32_t resize_edges);
|
|
|
|
|
|
2022-01-05 09:11:24 +01:00
|
|
|
#endif
|