diff options
author | portix <portix@gmx.net> | 2011-07-03 23:35:32 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-07-03 23:35:32 +0200 |
commit | c2d0afe0f7fb0109cdd88dc2f1dfd8ac2e588742 (patch) | |
tree | e938357b644f7688f0f6292d7c2785b9c6799244 /src/session.c | |
parent | f74939ed190076a8d612a6ae757335c45ab42dcd (diff) | |
download | dwb-c2d0afe0f7fb0109cdd88dc2f1dfd8ac2e588742.zip |
Fixing wrong focus after opening a session
Diffstat (limited to 'src/session.c')
-rw-r--r-- | src/session.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; }/*}}}*/ |