summaryrefslogtreecommitdiff
path: root/desktop/global_history.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-07-01 11:48:43 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-07-01 11:48:43 +0100
commit743ffa2a46cd8f5a52bab88e9ec6e5ba1b962e6a (patch)
tree576a3813339a55313c48b3926b2c640bf35efd73 /desktop/global_history.c
parentdf1667bd58c95517a16109bca9fb1db0a0a518b5 (diff)
downloadnetsurf-743ffa2a46cd8f5a52bab88e9ec6e5ba1b962e6a.tar.gz
netsurf-743ffa2a46cd8f5a52bab88e9ec6e5ba1b962e6a.tar.bz2
Pass keypresses on to treeview.
Diffstat (limited to 'desktop/global_history.c')
-rw-r--r--desktop/global_history.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/global_history.c b/desktop/global_history.c
index e49b300ca..0a1e549d6 100644
--- a/desktop/global_history.c
+++ b/desktop/global_history.c
@@ -740,3 +740,10 @@ void global_history_mouse_action(browser_mouse_state mouse, int x, int y)
treeview_mouse_action(gh_ctx.tree, mouse, x, y);
}
+
+/* Exported interface, documented in global_history.h */
+void global_history_keypress(uint32_t key)
+{
+ treeview_keypress(gh_ctx.tree, key);
+}
+