aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-01-04 14:22:46 -0500
committerChris Michael <cp.michael@samsung.com>2017-01-04 14:25:24 -0500
commit4c04958f87af2ceef65b553a1d59c2d5e5f4ddce (patch)
treef2a49802805f64e56e2029ef6f3aad6c3ee78a6b /src
parentecore-wl2: Add support for xdg shell version 6 (diff)
downloadefl-4c04958f87af2ceef65b553a1d59c2d5e5f4ddce.tar.gz
ecore-evas-wayland: Support zxdg_shell version 6 configure_ack
Small patch to support configure acknowledgement with xdg_shell version 6. Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index e1553c00f1..cd883c0292 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1431,7 +1431,10 @@ _ecore_evas_wl_common_render_flush_pre(void *data, Evas *evas, void *event EINA_
if (!ecore_wl2_window_has_shell_surface(wdata->win)) return;
- if (wdata->win->configure_ack && wdata->win->configure_serial)
+ if (wdata->win->zxdg_configure_ack && wdata->win->configure_serial)
+ wdata->win->zxdg_configure_ack(wdata->win->zxdg_surface,
+ wdata->win->configure_serial);
+ else if (wdata->win->configure_ack && wdata->win->configure_serial)
wdata->win->configure_ack(wdata->win->xdg_surface,
wdata->win->configure_serial);
wdata->win->configure_serial = 0;