From 965e2fe70e9b57b6555aa241f0077e95efa7ab7b Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sun, 20 Jan 2008 14:23:23 +0100 Subject: [PATCH] fix modifier problems (like NumLock) by ignoring hateMods --- src/tk/tkbind.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tk/tkbind.c b/src/tk/tkbind.c index 1aa2614..d83ca5e 100644 --- a/src/tk/tkbind.c +++ b/src/tk/tkbind.c @@ -1642,9 +1642,11 @@ MatchPatterns(bindPtr, psPtr) != patPtr->needMods) { goto nextSequence; } +#if 0 if ((state & patPtr->hateMods) != 0) { goto nextSequence; } +#endif if ((patPtr->detail != 0) && (patPtr->detail != *detailPtr)) { goto nextSequence; -- 2.39.5