devilhorns pushed a commit to branch master.
commit f833318fb2843889eee2df79a3a274f541df861a
Author: Chris Michael <[email protected]>
Date: Fri Jun 14 09:21:43 2013 +0100
Use wl_display_get_serial when creating popups.
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 a9fa926..ab4d70d 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,
- _ecore_wl_disp->serial,
+
wl_display_get_serial(_ecore_wl_disp->wl.display),
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