From: Michael Gernoth Date: Sun, 20 Jan 2008 13:23:23 +0000 (+0100) Subject: fix modifier problems (like NumLock) by ignoring hateMods X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/965e2fe70e9b57b6555aa241f0077e95efa7ab7b fix modifier problems (like NumLock) by ignoring hateMods --- 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;