summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-06-21 17:50:30 +0200
committerBoris Faure <billiob@gmail.com>2015-06-21 17:50:30 +0200
commit0fa0a5d9c8bc389c58af33f93784e839bd173711 (patch)
tree6483872db1b8d3b046a9af9e965e779c22d27ac3 /src
parent03d1edddaf7ef29dfd2d9e2f81cbcdfaf578d803 (diff)
force focus even if win is not yet focused. Closes T2416
Diffstat (limited to 'src')
-rw-r--r--src/bin/win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/win.c b/src/bin/win.c
index c94c2c0..5094d69 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -2709,7 +2709,7 @@ _term_focus(Term *term)
2709{ 2709{
2710 Term_Container *tc; 2710 Term_Container *tc;
2711 2711
2712 if (_term_is_focused(term) || !_win_is_focused(term->wn)) 2712 if (_term_is_focused(term))
2713 return; 2713 return;
2714 2714
2715 tc = term->container; 2715 tc = term->container;