devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=90ab99cba6d45e0146104cf35a1128422d60eb30

commit 90ab99cba6d45e0146104cf35a1128422d60eb30
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Jan 10 08:49:24 2017 -0500

    ecore-wl2: Use correct serial value
    
    When we get a configure event, we should be using the current display
    serial to set as the window configure serial value. Previous code
    would always end up setting the window configure_serial to 0 as
    win->display->serial was not getting updated.
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index 2314b78..a51edca 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -237,7 +237,7 @@ _zxdg_toplevel_cb_configure(void *data, struct 
zxdg_toplevel_v6 *zxdg_toplevel E
           }
      }
 
-   win->configure_serial = win->display->serial;
+   win->configure_serial = wl_display_get_serial(win->display->wl.display);
    if ((win->geometry.w == width) && (win->geometry.h == height))
      width = height = 0;
    else if ((!width) && (!height) && (!win->fullscreen) && (!win->maximized) &&

-- 


Reply via email to