From 07b41c7407d232015329dad15f5abf75605e89c4 Mon Sep 17 00:00:00 2001 From: Jeena Date: Fri, 27 Mar 2026 23:35:32 +0000 Subject: [PATCH] window: focus content area instead of sidebar on startup Scroll events were going to the sidebar list because GTK's default focus traversal landed on the article_list_view. Call grab_focus() on the WebView at the end of constructed() so the content area receives input by default. --- src/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.rs b/src/window.rs index 8139c95..f54e6de 100644 --- a/src/window.rs +++ b/src/window.rs @@ -137,6 +137,7 @@ pub mod imp { self.setup_capture_keys(); self.restore_from_cache(); self.auto_login(); + self.web_view.grab_focus(); } }