billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=0844d8689279cb1298bdbf643b5c64a8f2aad965

commit 0844d8689279cb1298bdbf643b5c64a8f2aad965
Author: Boris Faure <[email protected]>
Date:   Sun Jul 23 17:33:24 2017 +0200

    sizing: use 1px step when having visible tabs.
    
    Closes T5421
---
 src/bin/win.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/bin/win.c b/src/bin/win.c
index 476f9c4..67ed42a 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -2280,12 +2280,20 @@ _tabs_size_eval(Term_Container *container, Sizeinfo 
*info)
 {
    Tabs *tabs;
    Term_Container *tc;
+   Config *config;
 
    assert (container->type == TERM_CONTAINER_TYPE_TABS);
    tabs = (Tabs*)container;
 
    tc = tabs->current->tc;
+   config = tc->wn->config;
    tc->size_eval(tc, info);
+   /* Current sizing code does not take the tab area correctly into account */
+   if (!config->notabs)
+     {
+        info->step_x = 1;
+        info->step_y = 1;
+     }
 }
 
 static Eina_List *

-- 


Reply via email to