Revert "e_explicit_sync: [Temporary] Do not check that surface already has synchroniz... 44/317844/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 19 Sep 2024 08:05:59 +0000 (17:05 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 19 Sep 2024 08:28:08 +0000 (17:28 +0900)
This reverts commit 3a7ac024b5f656bf0609d18722382b25f4a2b0a1.

Change-Id: Id4ae73fe14ad8d4ff844805925f3f7f37447cc2e

src/bin/server/e_explicit_sync.c

index fe34e25..21765ca 100644 (file)
@@ -389,17 +389,11 @@ static void _e_explicit_sync_cb_get_synchronization(struct wl_client *client,
 
    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));
-#endif
      }
 
    explicit_sync_surface = E_NEW(E_Explicit_Sync_Surface, 1);