]> git.mdlowis.com Git - projs/tide.git/commitdiff
Fixed bug in handling keyboard shortcuts. Lock modifiers are now masked away before...
authorMichael D. Lowis <mike.lowis@gentex.com>
Mon, 30 Jan 2017 17:47:40 +0000 (12:47 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Mon, 30 Jan 2017 17:47:40 +0000 (12:47 -0500)
TODO.md
inc/x11.h

diff --git a/TODO.md b/TODO.md
index 6c9197450357e3d6f95125b213559f2e608a4a22..bed34eca3d80d16c1b3d5c866bfd6353f488f947 100644 (file)
--- a/TODO.md
+++ b/TODO.md
@@ -2,8 +2,6 @@
 
 Up Next:
 
-* Num Lock causes modifier checks to fail in xedit.c
-* Implement X Selection protocol for handling clipboard and primary selections
 * Right click in tags region should search edit region
 * Add keyboard shortcut to highlight the thing under the cursor
 * Tag line count should account for wrapped lines
index 97cb1503f82a001bbe70cf9f4fd39d743ee3f7da..e875b1387de374d58f2d0da207c4e4285e92b699 100644 (file)
--- a/inc/x11.h
+++ b/inc/x11.h
@@ -118,7 +118,7 @@ enum {
     ModNumLock    = (1 << 4),
     ModScrollLock = (1 << 5),
     ModWindows    = (1 << 6),
-    ModAny        = ModWindows-1
+    ModAny        = (ModShift|ModCtrl|ModAlt)
 };
 
 /* Selection identifiers */