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);
return;
}
- cur_keybind = NULL;
+ /* This cancels any pending on-release keybinds */
+ keyboard_reset_current_keybind ();
struct view *view;
struct action *action;
static bool should_cancel_cycling_on_next_key_release;
-struct keybind *cur_keybind;
+static struct keybind *cur_keybind;
/* Called on --reconfigure to prevent segfault when handling release keybinds */
void