Fix bug in fast inject mode

This commit is contained in:
Federico Terzi 2020-04-18 18:20:34 +02:00
parent 761758b136
commit 2930762451

View File

@ -316,7 +316,7 @@ void fast_release_all_keys() {
for (int k = 0; k<8; k++) {
if ((keys[i] & (1 << k)) != 0) { // Bit by bit check
int key_code = i*8 + k;
fast_send_event(xdo_context, focused, keycode, 0);
fast_send_event(xdo_context, focused, key_code, 0);
}
}
}