Fix release keybindings being triggered after mouse bindings

This commit is contained in:
Simon Long 2024-06-13 10:57:34 +01:00 committed by Johan Malm
parent bb1d0b4352
commit 5b1ab48abf
2 changed files with 5 additions and 4 deletions

View file

@ -177,6 +177,8 @@ const char *action_names[] = {
NULL
};
extern struct keybind *cur_keybind;
void
action_arg_add_str(struct action *action, const char *key, const char *value)
{
@ -707,6 +709,8 @@ actions_run(struct view *activator, struct server *server,
return;
}
cur_keybind = NULL;
struct view *view;
struct action *action;
wl_list_for_each(action, actions, link) {