aboutsummaryrefslogtreecommitdiff
path: root/fastiv.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-12 07:23:24 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-22 13:01:43 +0100
commit0bec06b55d847a9faad66f5a3b8331a9eb6bde03 (patch)
tree36980b91d3b802e751c163c836b6edaa81127233 /fastiv.c
parent97109b1e58a68ef3cb9b5f85d4ea8bb5a6ff8cd3 (diff)
downloadfiv-0bec06b55d847a9faad66f5a3b8331a9eb6bde03.tar.gz
fiv-0bec06b55d847a9faad66f5a3b8331a9eb6bde03.tar.xz
fiv-0bec06b55d847a9faad66f5a3b8331a9eb6bde03.zip
Fix further focus issues
Diffstat (limited to 'fastiv.c')
-rw-r--r--fastiv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fastiv.c b/fastiv.c
index ec40a85..7d38384 100644
--- a/fastiv.c
+++ b/fastiv.c
@@ -120,6 +120,7 @@ switch_to_view(const char *path)
{
gtk_window_set_title(GTK_WINDOW(g.window), path);
gtk_stack_set_visible_child(GTK_STACK(g.stack), g.view_scroller);
+ gtk_widget_grab_focus(g.view);
}
static void