summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:17:53 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:15:43 -0400
commit6a6505106a0ee5b5d1cb5395db75d6a40ef1ddef (patch)
tree88073748dda0a9682b94783787b4fdbe5853fdec /src/lib/elementary/efl_ui_win.c
parent9a189d29d0ebae79e645101b1fb0fbe5611e5a09 (diff)
elm_win: propagate window aspect hint in wayland
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_win.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index e37110db1b..ab947cdfe5 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -5907,6 +5907,10 @@ _efl_ui_win_efl_gfx_size_hint_hint_aspect_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Da
5907 if (h) _win_aspect_set(pd, (double) w / (double) h); 5907 if (h) _win_aspect_set(pd, (double) w / (double) h);
5908 else _win_aspect_set(pd, 0.0); 5908 else _win_aspect_set(pd, 0.0);
5909 efl_gfx_size_hint_aspect_set(efl_super(obj, MY_CLASS), mode, w, h); 5909 efl_gfx_size_hint_aspect_set(efl_super(obj, MY_CLASS), mode, w, h);
5910#ifdef HAVE_ELEMENTARY_WL2
5911 if (pd->wl.win)
5912 ecore_wl2_window_aspect_set(pd->wl.win, w, h, mode);
5913#endif
5910} 5914}
5911 5915
5912EOLIAN static void 5916EOLIAN static void