E_Blur: Fix the blur behind is not shown even if ec is shown 95/318195/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 25 Sep 2024 10:21:35 +0000 (19:21 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 25 Sep 2024 10:42:19 +0000 (19:42 +0900)
Change-Id: I8d5d78ce41ef1574b43955271ab07f46c575343b

src/bin/server/e_blur.c

index ea2bda53b22d1e69d567a45d03b1a1b380854fdc..0a1556617df7ca185d0912a261d48f212839a1b0 100644 (file)
@@ -834,9 +834,11 @@ _e_blur_behind_evas_cb_show(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj
    E_Blur_Behind *blur_behind;
 
    if (!(blur_behind = data)) return;
-   if (!_e_blur_behind_enabled_get(blur_behind)) return;
+   if (!blur_behind->radius) return;
 
    evas_object_show(blur_behind->obj);
+
+   _e_blur_behind_enabled_set(blur_behind, EINA_TRUE);
 }
 
 static void
@@ -847,6 +849,8 @@ _e_blur_behind_evas_cb_hide(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj
    if (!(blur_behind = data)) return;
 
    evas_object_hide(blur_behind->obj);
+
+   _e_blur_behind_enabled_set(blur_behind, EINA_FALSE);
 }
 
 static void