Fix the wrong code for behind blur 04/318204/3 accepted/tizen_unified accepted/tizen_unified_toolchain accepted/tizen_unified_x tizen accepted/tizen/unified/20240928.111244 accepted/tizen/unified/20240928.221343 accepted/tizen/unified/toolchain/20241004.101958 accepted/tizen/unified/x/20240929.082832
authorWonsik Jung <sidein@samsung.com>
Wed, 25 Sep 2024 10:32:59 +0000 (19:32 +0900)
committerWonsik Jung <sidein@samsung.com>
Thu, 26 Sep 2024 00:49:31 +0000 (00:49 +0000)
Fix the wrong code for behind blur
- unneccessary wtz value.
- fix to using destroy function

Change-Id: I345a6c0cac519e09cf4c4a2fd4a21053d8ae99b1

src/lib/ecore_wl2/ecore_wl2_private.h
src/lib/ecore_wl2/ecore_wl2_window.c

index 26c31e4..e119f7d 100644 (file)
@@ -186,9 +186,6 @@ struct _Ecore_Wl2_Display
         struct wtz_blur_manager *tz_blur_manager;
         // TIZEN_ONLY(20240604) : support video shell
         struct wtz_video_shell *video_shell;
-        // TIZEN_ONLY(20240910) : supports behind blur
-        struct wtz_behind_blur_manager *tz_behind_blur_manager;
-        //
      } wl;
 
    uint32_t serial;
index 31a74a2..a729c2d 100644 (file)
@@ -1640,7 +1640,7 @@ ecore_wl2_window_free(Ecore_Wl2_Window *window)
    window->blur.rect = NULL;
 
    // TIZEN_ONLY(20240910) : supports behind blur
-   if (window->behind_blur.blur) wtz_blur_destroy(window->behind_blur.blur);
+   if (window->behind_blur.blur) wtz_blur_behind_destroy(window->behind_blur.blur);
    window->behind_blur.blur = NULL;
    //