summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/OutOfProcessWebView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/OutOfProcessWebView.cpp')
-rw-r--r--Libraries/LibWeb/OutOfProcessWebView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibWeb/OutOfProcessWebView.cpp b/Libraries/LibWeb/OutOfProcessWebView.cpp
index ec62289ece..a8063092ac 100644
--- a/Libraries/LibWeb/OutOfProcessWebView.cpp
+++ b/Libraries/LibWeb/OutOfProcessWebView.cpp
@@ -40,6 +40,7 @@ namespace Web {
OutOfProcessWebView::OutOfProcessWebView()
{
set_should_hide_unnecessary_scrollbars(true);
+ set_focus_policy(GUI::FocusPolicy::StrongFocus);
m_client = WebContentClient::construct(*this);
client().post_message(Messages::WebContentServer::UpdateSystemTheme(Gfx::current_system_theme_buffer_id()));
}