]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Move extern to h file
authorSimon Long <simon@raspberrypi.com>
Thu, 13 Jun 2024 10:04:30 +0000 (11:04 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 15 Jun 2024 20:22:58 +0000 (21:22 +0100)
include/input/keyboard.h
src/action.c

index ff2d8500bfc69c793388f7d65ef1e0feec2111f8..1f523da36acbc549a0cb1cfc1a087fcd86aab47e 100644 (file)
@@ -9,6 +9,8 @@ struct seat;
 struct keyboard;
 struct wlr_keyboard;
 
+extern struct keybind *cur_keybind;
+
 void keyboard_reset_current_keybind(void);
 void keyboard_configure(struct seat *seat, struct wlr_keyboard *kb,
        bool is_virtual);
index f8ce2f8270681256e468c4c15de0dca621cf19a4..12523353b015171ee1c691c86fe561ca1c417063 100644 (file)
@@ -24,6 +24,7 @@
 #include "ssd.h"
 #include "view.h"
 #include "workspaces.h"
+#include "input/keyboard.h"
 
 enum action_arg_type {
        LAB_ACTION_ARG_STR = 0,
@@ -177,8 +178,6 @@ const char *action_names[] = {
        NULL
 };
 
-extern struct keybind *cur_keybind;
-
 void
 action_arg_add_str(struct action *action, const char *key, const char *value)
 {