[hackers] [surf-webkit2][PATCH] Add Forward/Back keys to navigate

From: Ivan Tham <pickfire_AT_riseup.net>
Date: Thu, 27 Apr 2017 12:40:58 +0800

Please ignore the previous patch with the wrong headers.

---
 config.def.h | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/config.def.h b/config.def.h
index dce76f8..e867ba3 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -115,7 +115,9 @@ static Key keys[] = {
 	{ MODKEY,                GDK_KEY_r,      reload,     { .b = 0 } },
 
 	{ MODKEY,                GDK_KEY_l,      navigate,   { .i = +1 } },
+	{ 0,                     GDK_KEY_Forward,navigate,   { .i = +1 } },
 	{ MODKEY,                GDK_KEY_h,      navigate,   { .i = -1 } },
+	{ 0,                     GDK_KEY_Back,   navigate,   { .i = -1 } },
 
 	/* Currently we have to use scrolling steps that WebKit2GTK+ gives us
 	 * d: step down, u: step up, r: step right, l:step left
-- 
2.12.2
Received on Thu Apr 27 2017 - 06:40:58 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 27 2017 - 06:48:30 CEST