};
WL_EXPORT const struct wl_interface tizen_surface_shm_interface = {
- "tizen_surface_shm", 1,
+ "tizen_surface_shm", 2,
1, tizen_surface_shm_requests,
0, NULL,
};
surface->is_frontbuffer_mode = TPL_FALSE;
}
+#define IMPL_TIZEN_SURFACE_SHM_VERSION 2
+
void
__cb_resistry_global_callback(void *data, struct wl_registry *wl_registry,
uint32_t name, const char *interface,
wl_registry_bind(wl_registry,
name,
&tizen_surface_shm_interface,
- version);
+ ((version < IMPL_TIZEN_SURFACE_SHM_VERSION) ?
+ version : IMPL_TIZEN_SURFACE_SHM_VERSION));
}
}
+
void
__cb_resistry_global_remove_callback(void *data,
struct wl_registry *wl_registry,