hotkeys don't get triggerd twice when after the right
keys are pressed one or more other keys are pressed
afterwards
xkbcommon
Alessandro Mauri 4 years ago
parent ed7202e5c8
commit d39281f9a6
  1. 2
      hkd.c

@ -274,7 +274,7 @@ int main (void)
struct key_buffer comb1 = {{KEY_LEFTALT, KEY_S}, 2};
if (pb.size != prev_size) {
if (pb.size > prev_size) {
printf("Pressed keys: ");
for (unsigned int i = 0; i < pb.size; i++)
printf("%d ", pb.buf[i]);

Loading…
Cancel
Save