Clear oneshot layers when undefined keys are pressed.

master
Raheman Vaiya 5 years ago
parent 9242c4cf16
commit 8df75b749b
  1. 2
      Makefile
  2. 2
      src/main.c

@ -3,7 +3,7 @@
DESTDIR=
PREFIX=/usr
VERSION=1.0.1
VERSION=1.1.2
GIT_HASH=$(shell git describe --no-match --always --abbrev=40 --dirty)
CFLAGS=-DVERSION=\"$(VERSION)\" -DGIT_COMMIT_HASH=\"$(GIT_HASH)\"

@ -377,7 +377,7 @@ static void process_event(struct keyboard *kbd, struct input_event *ev)
}
if(!d)
return;
goto keyseq_cleanup;
switch(d->action) {
struct layer *layer;

Loading…
Cancel
Save