diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-07-26 15:55:57 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-03 14:01:56 -0400 |
commit | 8fb82f069231ba1ae07f7986cf3e5b186325bb5f (patch) | |
tree | 05da7241dea69b8444e8ad63aeb4e3676565e858 | |
parent | ad0d7374da932046a3891fb3df6a17878175aefd (diff) | |
download | efl-8fb82f069231ba1ae07f7986cf3e5b186325bb5f.tar.gz |
elm_win: propagate window aspect hint in wayland
-rw-r--r-- | src/lib/elementary/efl_ui_win.c | 4 |
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 |