From 2af7e954bb854f60aff632e463b37e17f0847418 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sat, 23 Mar 2013 01:09:30 +0100 Subject: [PATCH] Don't check for keypresses on the inspector pane. Instead of checking the key actions on the whole window we use the box instead, that holds nearly everything but the inspector pane. Else pressing 'd' in the inspectors search box would close the browser window. --- src/keybind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keybind.c b/src/keybind.c index 2067b28..b48e1d3 100644 --- a/src/keybind.c +++ b/src/keybind.c @@ -36,7 +36,7 @@ static void keybind_free(Keybind* keybind); void keybind_init(void) { vb.behave.modkeys = g_string_new(""); - g_signal_connect(G_OBJECT(vb.gui.window), "key-press-event", G_CALLBACK(keybind_keypress_callback), NULL); + g_signal_connect(G_OBJECT(vb.gui.box), "key-press-event", G_CALLBACK(keybind_keypress_callback), NULL); } void keybind_cleanup(void) -- 2.20.1