reordering functions.
authorEnno Boland (tox) <tox@s01.de>
Wed, 9 Sep 2009 19:57:23 +0000 (21:57 +0200)
committerEnno Boland (tox) <tox@s01.de>
Wed, 9 Sep 2009 19:57:23 +0000 (21:57 +0200)
surf.c

diff --git a/surf.c b/surf.c
index 3ff8af7..c3df8e2 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -263,8 +263,7 @@ keypress(GtkWidget* w, GdkEventKey *ev, Client *c) {
                focus = BROWSER;
        for(i = 0; i < LENGTH(keys); i++) {
                if(focus & keys[i].focus && ev->keyval == keys[i].keyval &&
-                               (CLEANMASK(ev->state) == keys[i].mod ||
-                                CLEANMASK(ev->state) & keys[i].mod)
+                               CLEANMASK(ev->state) == keys[i].mod
                                && keys[i].func) {
                        keys[i].func(c, &(keys[i].arg));
                        processed = TRUE;