summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index 63c870f..5fe6410 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -261,7 +261,7 @@ ecore_wl_window_buffer_attach(Ecore_Wl_Window *win, struct wl_buffer *buffer, in
261 } 261 }
262} 262}
263 263
264EAPI struct wl_surface* 264EAPI struct wl_surface *
265ecore_wl_window_surface_create(Ecore_Wl_Window *win) 265ecore_wl_window_surface_create(Ecore_Wl_Window *win)
266{ 266{
267 LOGFN(__FILE__, __LINE__, __FUNCTION__); 267 LOGFN(__FILE__, __LINE__, __FUNCTION__);
@@ -269,6 +269,7 @@ ecore_wl_window_surface_create(Ecore_Wl_Window *win)
269 if (!win) return NULL; 269 if (!win) return NULL;
270 if (win->surface) return win->surface; 270 if (win->surface) return win->surface;
271 win->surface = wl_compositor_create_surface(_ecore_wl_compositor_get()); 271 win->surface = wl_compositor_create_surface(_ecore_wl_compositor_get());
272 if (!win->surface) return NULL;
272 win->surface_id = wl_proxy_get_id((struct wl_proxy *)win->surface); 273 win->surface_id = wl_proxy_get_id((struct wl_proxy *)win->surface);
273 return win->surface; 274 return win->surface;
274} 275}