devilhorns pushed a commit to branch master.
commit a665e6320f5c7095195c070bbe295b4668179dad
Author: Chris Michael <[email protected]>
Date: Mon Jun 24 09:15:34 2013 +0100
Remove call to wl_display_get_serial as it's a server-side function,
not client-side.
Signed-off-by: Chris Michael <[email protected]>
---
src/lib/ecore_wayland/ecore_wl_window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c
b/src/lib/ecore_wayland/ecore_wl_window.c
index ab4d70d..a9fa926 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -311,7 +311,7 @@ ecore_wl_window_show(Ecore_Wl_Window *win)
case ECORE_WL_WINDOW_TYPE_MENU:
wl_shell_surface_set_popup(win->shell_surface,
_ecore_wl_disp->input->seat,
-
wl_display_get_serial(_ecore_wl_disp->wl.display),
+ _ecore_wl_disp->serial,
win->parent->surface,
win->allocation.x, win->allocation.y, 0);
break;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev