billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=49be05a02fdf337536cb47cb47aecaf0711b1dd8

commit 49be05a02fdf337536cb47cb47aecaf0711b1dd8
Author: Boris Faure <bill...@gmail.com>
Date:   Thu Aug 6 22:40:19 2015 +0200

    do not expand window on zoom, resize the content. Closes T886
---
 src/bin/termio.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index d8f319a..82b7972 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -455,19 +455,12 @@ _font_size_set(Evas_Object *obj, int size)
    else if (size > 100) size = 100;
    if (config)
      {
-        Evas_Coord mw = 1, mh = 1;
-        int gw, gh;
-
         config->temporary = EINA_TRUE;
         config->font.size = size;
-        gw = sd->grid.w;
-        gh = sd->grid.h;
         sd->noreqsize = 1;
         termio_config_update(obj);
         sd->noreqsize = 0;
-        evas_object_size_hint_min_get(obj, &mw, &mh);
         evas_object_data_del(obj, "sizedone");
-        evas_object_size_hint_request_set(obj, mw * gw, mh * gh);
      }
 }
 

-- 


Reply via email to