goto fail;
}
-/* temporary disable */
-#if 0
if (e_client_explicit_sync_get(ec))
{
+/* temporary disable */
+#if 0
wl_resource_post_error(resource,
ZWP_LINUX_EXPLICIT_SYNCHRONIZATION_V1_ERROR_SYNCHRONIZATION_EXISTS,
"wl_surface resource:%u already has synchronization",
(unsigned int)wl_resource_get_id(surface));
goto fail;
- }
#else
- ERR("ec:%p wl_surface resource:%u already has synchronization",
- ec, (unsigned int)wl_resource_get_id(surface));
+ ERR("ec:%p wl_surface resource:%u already has synchronization",
+ ec, (unsigned int)wl_resource_get_id(surface));
#endif
+ }
explicit_sync_surface = E_NEW(E_Explicit_Sync_Surface, 1);
if (!explicit_sync_surface)