ecore_evas_wayland_common: add checking pending.geom 65/284465/1
authorHosang Kim <hosang12.kim@samsung.com>
Thu, 17 Nov 2022 11:26:00 +0000 (20:26 +0900)
committerHosang Kim <hosang12.kim@samsung.com>
Thu, 17 Nov 2022 11:26:00 +0000 (20:26 +0900)
Sometimes server's configure notify and client's resize are conflict.
So if client' resize request exists, ignore sever's configure notify.

Change-Id: Ia9b5ad1ad9994c098385d472cf1406bdbfeb3a05

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index 0ce5be9..e17794d 100644 (file)
@@ -660,6 +660,7 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
 
    wdata = ee->engine.data;
    if (!wdata) return ECORE_CALLBACK_PASS_ON;
+   if (wdata->win->pending.geom) return ECORE_CALLBACK_PASS_ON;
 
    if (!ecore_wl2_window_resizing_get(wdata->win) && !wdata->resizing)
      wdata->cw = wdata->ch = 0;