diff options
author | Enno Boland (tox) <tox@s01.de> | 2009-09-09 21:57:23 +0200 |
---|---|---|
committer | Enno Boland (tox) <tox@s01.de> | 2009-09-09 21:57:23 +0200 |
commit | 9215a55624edb1563dda2861872acc2ee2a405cb (patch) | |
tree | 66ef6a8b5ae32babb99fa516a08e9f48abd7c0fe | |
parent | 22aa6291df01aad05d4376532788da4477c98bb5 (diff) | |
download | surf-9215a55624edb1563dda2861872acc2ee2a405cb.tar.gz surf-9215a55624edb1563dda2861872acc2ee2a405cb.tar.bz2 surf-9215a55624edb1563dda2861872acc2ee2a405cb.zip |
reordering functions.
-rw-r--r-- | surf.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |