diff --git a/include/action.h b/include/action.h index 390355af..7e2c667d 100644 --- a/include/action.h +++ b/include/action.h @@ -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 diff --git a/include/labwc.h b/include/labwc.h index 8823f3ef..9749223b 100644 --- a/include/labwc.h +++ b/include/labwc.h @@ -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); diff --git a/src/cursor.c b/src/cursor.c index d9836bee..03208736 100644 --- a/src/cursor.c +++ b/src/cursor.c @@ -5,6 +5,7 @@ #include #include #include +#include "action.h" #include "labwc.h" #include "menu/menu.h" #include "resistance.h" diff --git a/src/keyboard.c b/src/keyboard.c index 72bcb875..9b1bf846 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only #include #include +#include "action.h" #include "key-state.h" #include "labwc.h"