forked from enlightenment/efl
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.michael@samsung.com>
This commit is contained in:
parent
6d4f1501bf
commit
90ab99cba6
|
@ -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) &&
|
||||
|
|
Loading…
Reference in New Issue