e_policy: fixed bug for unsetting user_geometry value 92/106892/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Fri, 23 Dec 2016 10:59:51 +0000 (19:59 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Mon, 26 Dec 2016 02:14:43 +0000 (18:14 -0800)
There was a bug that the window could not maximized when it unset the user_geometry aux_hint.

Change-Id: I1ea69d366474ba81ab2b5bf11f227eadc4d36453

src/bin/e_policy.c

index ac3d2fdcb951b230433603f196b69e5e647e78a8..3113235beb8e491b1b767004c271335ba0f9591b 100644 (file)
@@ -1836,6 +1836,8 @@ e_policy_allow_user_geometry_set(E_Client *ec, Eina_Bool set)
 
         ec->lock_client_size = EINA_FALSE;
         ec->placed = 1;
+
+        _e_policy_client_maximize_policy_cancel(pc);
         EC_CHANGED(ec);
      }
    else if (pc->user_geom_ref == 0 && pc->allow_user_geom)