fix modifier problems (like NumLock) by ignoring hateMods
authorMichael Gernoth <michael@gernoth.net>
Sun, 20 Jan 2008 13:23:23 +0000 (14:23 +0100)
committerMichael Gernoth <michael@gernoth.net>
Sun, 20 Jan 2008 13:23:23 +0000 (14:23 +0100)
src/tk/tkbind.c

index 1aa2614..d83ca5e 100644 (file)
@@ -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;
Impressum, Datenschutz