billiob pushed a commit to branch terminology-1.7.

http://git.enlightenment.org/apps/terminology.git/commit/?id=1d5eee0e60e71d64ba1ac284ff46370fc36f3963

commit 1d5eee0e60e71d64ba1ac284ff46370fc36f3963
Author: Boris Faure <[email protected]>
Date:   Sat May 16 19:07:28 2020 +0200

    focus validator: be less strict when changing tabs
    
    Closes T8722
---
 src/bin/win.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/win.c b/src/bin/win.c
index 29cd1a9..4f66c71 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -272,6 +272,12 @@ _focus_validator(void)
                          {
                             assert (tc_parent->is_focused);
                             tc_parent = tc_parent->parent;
+                            if (tc_parent->type == TERM_CONTAINER_TYPE_TABS)
+                              {
+                                 Tabs *tabs = (Tabs*) tc_parent;
+                                 if (tabs->selector_bg)
+                                   return;
+                              }
                          }
                        while (tc_parent->type != TERM_CONTAINER_TYPE_WIN);
                        assert (tc_parent->is_focused);

-- 


Reply via email to