blur: Reset the current committed flag when the pending committed is none 81/307781/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20240315.032932 accepted/tizen/unified/x/20240318.021747
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 12 Mar 2024 11:59:05 +0000 (20:59 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 13 Mar 2024 05:03:42 +0000 (14:03 +0900)
Change-Id: I7c8a45f0b88ac544a31418dac34e7d5938779988

src/blur/blur.c

index ad75eb9..48d7329 100644 (file)
@@ -247,8 +247,10 @@ blur_handle_surface_commit(struct wl_listener *listener, void *data)
         return;
     }
 
-    if (blur->pending.committed == DS_TIZEN_BLUR_STATE_NONE)
+    if (blur->pending.committed == DS_TIZEN_BLUR_STATE_NONE) {
+        blur->current.committed = DS_TIZEN_BLUR_STATE_NONE;
         return;
+    }
 
     if (blur->pending.committed & DS_TIZEN_BLUR_STATE_REGION)
         pixman_region32_copy(&blur->current.region, &blur->pending.region);