diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-10-20 16:02:38 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-10-25 10:44:16 -0400 |
commit | 2b3c8d7f3feea16492b57c231d61327897ae94b3 (patch) | |
tree | 96c267d472005470b6b960d6bc3e7e8fca9fecea /src/lib/efl_wl/efl_wl.c | |
parent | 807006385df8049e75fb74dfcb7e5592486e6124 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | src/lib/efl_wl/efl_wl.c | 5 |
1 files changed, 0 insertions, 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) | |||
1413 | { | 1413 | { |
1414 | evas_object_move(cs->img, x + buffer->x, y + buffer->y); | 1414 | evas_object_move(cs->img, x + buffer->x, y + buffer->y); |
1415 | evas_object_resize(cs->obj, buffer->w, buffer->h); | 1415 | evas_object_resize(cs->obj, buffer->w, buffer->h); |
1416 | if (cs->shell.popup) | ||
1417 | { | ||
1418 | evas_object_size_hint_min_set(cs->obj, buffer->w, buffer->h); | ||
1419 | evas_object_size_hint_max_set(cs->obj, buffer->w, buffer->h); | ||
1420 | } | ||
1421 | } | 1416 | } |
1422 | else if (cs->shell.new) | 1417 | else if (cs->shell.new) |
1423 | shell_surface_init(cs); | 1418 | shell_surface_init(cs); |