]> git.zerfleddert.de Git - micropolis/commitdiff
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 1aa2614ec18aafe2b997effa8b899de29678a29c..d83ca5e0c8c3dcfade5d415659133d725752d222 100644 (file)
@@ -1642,9 +1642,11 @@ MatchPatterns(bindPtr, psPtr)
                    != patPtr->needMods) {
                goto nextSequence;
            }
                    != patPtr->needMods) {
                goto nextSequence;
            }
+#if 0
            if ((state & patPtr->hateMods) != 0) {
                goto nextSequence;
            }
            if ((state & patPtr->hateMods) != 0) {
                goto nextSequence;
            }
+#endif
            if ((patPtr->detail != 0)
                    && (patPtr->detail != *detailPtr)) {
                goto nextSequence;
            if ((patPtr->detail != 0)
                    && (patPtr->detail != *detailPtr)) {
                goto nextSequence;
Impressum, Datenschutz