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,10 +316,8 @@ void layer_disable(layer l) {
layers_pressed[row][col] = 0;
exec_key(l, row, col, false);
if (! layer_sticky[l]) { // don't resend for sticky keys
layers_pressed[row][col] = layers_top;
exec_key(layers_top, row, col, true);
}
layers_pressed[row][col] = layers_top;
exec_key(layers_top, row, col, true);
}
}
}