summaryrefslogtreecommitdiff
path: root/addons/fake
diff options
context:
space:
mode:
Diffstat (limited to 'addons/fake')
-rw-r--r--addons/fake/fake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/fake/fake.c b/addons/fake/fake.c
index 818c8ea3..81a78741 100644
--- a/addons/fake/fake.c
+++ b/addons/fake/fake.c
@@ -76,7 +76,7 @@ static void paint(void *st, const pa_window *w, pa_paint *out) {
static int key(void *st, const pa_key *k) {
fake *f = st;
- if (k->cp == 'q') return 0; /* not taken: the core's */
+ if (k->cp == 'q' || k->cp == 0x1b) return 0; /* not taken: the core's (Esc leaves) */
f->count++;
f->last[0] = 'k';
f->last[1] = k->cp < 128 ? (char)k->cp : '?';