e_mod_effect: don't refer wl_buffer if it is not animating 65/190465/1 accepted/tizen/5.0/unified/20181108.074354 accepted/tizen/unified/20181113.085924 submit/tizen/20181030.101450 submit/tizen/20181107.044109 submit/tizen/20181112.074735 submit/tizen_5.0/20181107.044303
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 2 Oct 2018 08:39:28 +0000 (17:39 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 2 Oct 2018 08:39:28 +0000 (17:39 +0900)
Change-Id: I46b37585c4693e9ccdf2cafc16a3d74adbdb74c6

src/e_mod_effect.c

index 1cb180a..74d4cff 100644 (file)
@@ -1625,6 +1625,7 @@ _eff_cb_client_buffer_change(void *data, int ev_type, void *event)
 
    efc = _eff_client_get(ec);
    if (!efc) return ECORE_CALLBACK_PASS_ON;
+   if (!efc->animating) return ECORE_CALLBACK_PASS_ON;
 
    if (ec->pixmap)
      {