summaryrefslogtreecommitdiffstats
path: root/src/tab-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tab-page.c')
-rw-r--r--src/tab-page.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tab-page.c b/src/tab-page.c
index 3cfd957..29f1721 100644
--- a/src/tab-page.c
+++ b/src/tab-page.c
@@ -312,3 +312,9 @@ mq_tab_page_focus_uri_entry(MqTabPage *tab_page)
mq_navigation_toolbar_focus_uri_entry(
MQ_NAVIGATION_TOOLBAR(tab_page->navigation_toolbar));
}
+
+void
+mq_tab_page_focus_web_view(MqTabPage *tab_page)
+{
+ mq_web_view_grab_focus(MQ_WEB_VIEW(tab_page->web_view));
+}