e_policy: set ec's lock_client_location to 0 while handling user geometry 17/244517/2 accepted/tizen/unified/20200922.230457 submit/tizen/20200922.110837
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 21 Sep 2020 07:28:19 +0000 (16:28 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 22 Sep 2020 07:55:34 +0000 (07:55 +0000)
There was a bug that the window didn't move when user geometry flag set, unset and set.
This was because the lock_client_location set to TRUE.
So, we fix code to set lock_client_location to FALSE when the user geometry flag is set.

Change-Id: I609f7dd9cbdfde764915bf9a59d39a8a91e1a314

src/bin/e_policy.c

index 11f34e4927b26e138dbc5ae93cf3b016fa11ae71..d71cd8ae81cc27bdbbd52a1cbb585b3b2072c2df 100644 (file)
@@ -2248,6 +2248,7 @@ e_policy_allow_user_geometry_set(E_Client *ec, Eina_Bool set)
 
         _e_policy_client_maximize_policy_cancel(pc);
 
+        ec->lock_client_location = EINA_FALSE;
         ec->lock_client_size = EINA_FALSE;
         ec->placed = 1;