do resend layer keys

This commit is contained in:
Stefan Dorn 2016-08-28 08:11:55 +01:00
parent 8199d8d21d
commit b970900306

View file

@ -316,14 +316,12 @@ void layer_disable(layer l) {
layers_pressed[row][col] = 0; layers_pressed[row][col] = 0;
exec_key(l, row, col, false); exec_key(l, row, col, false);
if (! layer_sticky[l]) { // don't resend for sticky keys
layers_pressed[row][col] = layers_top; layers_pressed[row][col] = layers_top;
exec_key(layers_top, row, col, true); exec_key(layers_top, row, col, true);
} }
} }
} }
} }
}
} }
bool is_layer_keyfunc(keyfunc f) { bool is_layer_keyfunc(keyfunc f) {