]> git.mdlowis.com Git - projs/tide.git/commitdiff
now ignoring the menu key
authorMichael D. Lowis <mike.lowis@gentex.com>
Wed, 19 Jul 2017 13:22:41 +0000 (09:22 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Wed, 19 Jul 2017 13:22:41 +0000 (09:22 -0400)
TODO.md
lib/x11.c

diff --git a/TODO.md b/TODO.md
index 94c87102cb95cd0d4225113be11e8d07412ee61e..de7672539fd222f90a08dc5b83aaa260bfbe6e24 100644 (file)
--- 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
 
index 509efcf417dec5c4ba574d4e49dd53905f43f72a..85c632adb069db3f511213733c37e2f74577be0b 100644 (file)
--- 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 */