From c2d0afe0f7fb0109cdd88dc2f1dfd8ac2e588742 Mon Sep 17 00:00:00 2001 From: portix Date: Sun, 3 Jul 2011 23:35:32 +0200 Subject: Fixing wrong focus after opening a session --- src/session.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/session.c') diff --git a/src/session.c b/src/session.c index 8917db71..0aaf3783 100644 --- a/src/session.c +++ b/src/session.c @@ -131,6 +131,8 @@ dwb_session_restore(const char *name) { gtk_widget_hide(((View*)l->data)->vbox); } } + dwb_unfocus(); + dwb_focus(dwb.state.views); dwb_update_layout(false); return true; }/*}}}*/ -- cgit v1.2.3