e_policy_wl: check the indicator owner's show state before property update 24/113224/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 6 Feb 2017 23:37:19 +0000 (08:37 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 7 Feb 2017 04:57:26 +0000 (20:57 -0800)
there was a bug that the indicator's angle set to portrait on landscape mode during effect.

Change-Id: Iaa788060e4284dd23dd1b280f7a372430a24a07f

src/bin/e_policy_wl.c

index a4c62d2fb9f944353d848ebcc96f25419605fdb3..a47b54dd2a01cea1996e79c84a5401d54696b2ef 100644 (file)
@@ -3893,7 +3893,8 @@ e_tzsh_indicator_srv_ower_win_update(E_Zone *zone)
               ec ? ec->indicator.state:-1, ec ? ec->indicator.opacity_mode:-1, ec ? ec->indicator.visible_type:-1);
         e_mod_indicator_owner_set(ec);
 
-        e_tzsh_indicator_srv_property_update(ec);
+        if (ec && !ec->e.state.rot.pending_show)
+          e_tzsh_indicator_srv_property_update(ec);
      }
 }