macro: Eagerly restore modifiers post execution (fixes #947)

master
Raheman Vaiya 1 year ago
parent 6b4f9f12ff
commit 9d73e75e9a
  1. 1
      src/keyboard.c
  2. 2
      t/overload-nested2.t

@ -174,6 +174,7 @@ static long execute_macro(struct keyboard *kbd, int dl, const struct macro *macr
time = macro_execute(kbd->output.send_key, macro, kbd->config.macro_sequence_timeout);
}
update_mods(kbd, -1, 0);
return time;
}

@ -9,3 +9,5 @@ meta up
control up
\ down
\ up
control down
control up

Loading…
Cancel
Save