Ecore_Wayland (egl): Update server allocation when window allocation
authorChristopher Michael <cpmichael1@comcast.net>
Mon, 13 Aug 2012 14:30:58 +0000 (14:30 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Mon, 13 Aug 2012 14:30:58 +0000 (14:30 +0000)
changes.

SVN revision: 75213

legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.c

index a948957..74514a2 100644 (file)
@@ -264,7 +264,7 @@ ecore_wl_window_buffer_attach(Ecore_Wl_Window *win, struct wl_buffer *buffer, in
    switch (win->buffer_type)
      {
       case ECORE_WL_WINDOW_BUFFER_TYPE_EGL_WINDOW:
-        /* FIXME: weston has wl_egl_window_get_attached_size */
+        win->server_allocation = win->allocation;
         break;
       case ECORE_WL_WINDOW_BUFFER_TYPE_EGL_IMAGE:
       case ECORE_WL_WINDOW_BUFFER_TYPE_SHM: