From 82338a0ba8ab660dd01e65d51ad6ee3096461a6f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 14 Nov 2017 23:33:14 -0500 Subject: MqHomeButton: Focus Web view on click --- (limited to 'src') diff --git a/src/toolbars/navigation/home-button.c b/src/toolbars/navigation/home-button.c index 64c116f..684988c 100644 --- a/src/toolbars/navigation/home-button.c +++ b/src/toolbars/navigation/home-button.c @@ -58,6 +58,7 @@ clicked_cb(MqHomeButton *home_button) uri = mq_config_get_string(home_button->config, "tabs.home"); mq_web_view_load_uri(home_button->web_view, uri); + mq_web_view_grab_focus(home_button->web_view); } static void -- cgit v0.9.1