discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2b3c8d7f3feea16492b57c231d61327897ae94b3

commit 2b3c8d7f3feea16492b57c231d61327897ae94b3
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Oct 20 16:02:38 2017 -0400

    efl-wl: don't randomly set min/max size hints on popup surface objects
    
    this is misleading since popups don't have min/max size hints
---
 src/lib/efl_wl/efl_wl.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index b5548c7f93..bc87e7f044 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -1413,11 +1413,6 @@ comp_surface_commit_state(Comp_Surface *cs, 
Comp_Buffer_State *state)
      {
         evas_object_move(cs->img, x + buffer->x, y + buffer->y);
         evas_object_resize(cs->obj, buffer->w, buffer->h);
-        if (cs->shell.popup)
-          {
-             evas_object_size_hint_min_set(cs->obj, buffer->w, buffer->h);
-             evas_object_size_hint_max_set(cs->obj, buffer->w, buffer->h);
-          }
      }
    else if (cs->shell.new)
      shell_surface_init(cs);

-- 


Reply via email to