blur: Reset the current committed flag when the pending committed is none
[platform/core/uifw/libds-tizen.git] / 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);