e_policy: fixed choppy movement of floating window which was launched with fake image... 20/110920/2 accepted/tizen/3.0/common/20170119.110026 accepted/tizen/3.0/ivi/20170119.021411 accepted/tizen/3.0/mobile/20170119.021321 accepted/tizen/3.0/tv/20170119.021340 accepted/tizen/3.0/wearable/20170119.021356 submit/tizen_3.0/20170118.150622
authorGwanglim Lee <gl77.lee@samsung.com>
Wed, 18 Jan 2017 14:55:42 +0000 (23:55 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 18 Jan 2017 14:56:14 +0000 (06:56 -0800)
Change-Id: Ib5e212f6f2804d001a93e09b67798589c9200f10

src/bin/e_policy.c

index 8a7503d..1a13105 100644 (file)
@@ -326,6 +326,16 @@ _e_policy_client_maximize_policy_cancel(E_Policy_Client *pc)
         changed = EINA_TRUE;
      }
 
+   /* floating mode ec which was launched with fake image is not borderless value.
+    * thus, we should set borderless value to 1 for this ec to prevent choppy
+    * movement of the window when moving the window.
+    */
+   if (ec->floating)
+     {
+        pc->orig.borderless = 1;
+        changed = EINA_TRUE;
+     }
+
 #undef _SET
 # define _SET(a) ec->a = pc->orig.a
    _SET(borderless);