From b96fea1cfd25b3897b677b5e2f6c8d214491db0c Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Wed, 19 Jul 2017 09:22:41 -0400 Subject: [PATCH] now ignoring the menu key --- TODO.md | 1 - lib/x11.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 94c8710..de76725 100644 --- a/TODO.md +++ b/TODO.md @@ -5,7 +5,6 @@ Up Next: * B2+B1 click executes command with selection as argument * right click to fetch file or line * Run commands in the background and don't block the main thread. -* ignore the menu key or map it to control * Add a separate config option for pty tags * update man pages with new functionality diff --git a/lib/x11.c b/lib/x11.c index 509efcf..85c632a 100644 --- a/lib/x11.c +++ b/lib/x11.c @@ -253,6 +253,7 @@ static uint32_t special_keys(uint32_t key) { case XK_Super_R: case XK_Hyper_L: case XK_Hyper_R: + case XK_Menu: return RUNE_ERR; /* if it ain't special, don't touch it */ -- 2.49.0