commit 9215a55624edb1563dda2861872acc2ee2a405cb
parent 22aa6291df01aad05d4376532788da4477c98bb5
Author: Enno Boland (tox) <[email protected]>
Date: Wed, 9 Sep 2009 21:57:23 +0200
reordering functions.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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;