aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--uzbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uzbl.c b/uzbl.c
index 4793dd3..ffae493 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -688,7 +688,7 @@ key_press_cb (WebKitWebView* page, GdkEventKey* event)
return TRUE;
}
- if (insert_mode && (event->state & modmask))
+ if (insert_mode && ((event->state & modmask) != modmask))
return FALSE;
if (event->keyval == GDK_Escape) {