Move action() prototype from labwc.h to action.h

This commit is contained in:
Johan Malm 2022-01-05 21:27:47 +00:00
parent 3bd65c3a20
commit 3c92cc4dd0
4 changed files with 8 additions and 3 deletions

View file

@ -2,6 +2,9 @@
#ifndef __LABWC_ACTION_H
#define __LABWC_ACTION_H
struct server;
struct view;
struct action {
uint32_t type;
char *arg;
@ -10,4 +13,7 @@ struct action {
struct action *action_create(const char *action_name);
void action(struct view *activator, struct server *server,
struct wl_list *actions, uint32_t resize_edges);
#endif

View file

@ -500,9 +500,6 @@ void server_init(struct server *server);
void server_start(struct server *server);
void server_finish(struct server *server);
void action(struct view *activator, struct server *server,
struct wl_list *actions, uint32_t resize_edges);
/* update onscreen display 'alt-tab' texture */
void osd_update(struct server *server);