aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-05-03 21:41:28 +0200
committerBoris Faure <billiob@gmail.com>2018-05-03 21:41:28 +0200
commit6694266a3ddc784c21c6fa7ee0ab57e8bc201e5a (patch)
tree365dce3a3bc7f6d77456fb7f5e181e42ceaa123a
parentterminology: do not select a item on focus (diff)
downloadterminology-6694266a3ddc784c21c6fa7ee0ab57e8bc201e5a.tar.gz
fix focus issue when mouse moving over window without focusing
-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 912981a..7a93e0a 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -1569,7 +1569,7 @@ _cb_win_mouse_move(void *data,
Term_Container *tc = (Term_Container*) wn;
Term_Container *tc_child = NULL;
- if (wn->on_popover || wn->group_input)
+ if (wn->on_popover || wn->group_input || !tc->is_focused)
return;
if (!wn->config->mouse_over_focus)