summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-07-26 15:55:57 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-03 14:01:56 -0400
commit8fb82f069231ba1ae07f7986cf3e5b186325bb5f (patch)
tree05da7241dea69b8444e8ad63aeb4e3676565e858
parentad0d7374da932046a3891fb3df6a17878175aefd (diff)
downloadefl-8fb82f069231ba1ae07f7986cf3e5b186325bb5f.tar.gz
elm_win: propagate window aspect hint in wayland
-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 63f3957dd5..edaed792a0 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
if (h) _win_aspect_set(pd, (double) w / (double) h);
else _win_aspect_set(pd, 0.0);
efl_gfx_size_hint_aspect_set(efl_super(obj, MY_CLASS), mode, w, h);
+#ifdef HAVE_ELEMENTARY_WL2
+ if (pd->wl.win)
+ ecore_wl2_window_aspect_set(pd->wl.win, w, h, mode);
+#endif
}
EOLIAN static void