e_client: add code to check floating mode while calculating visibility 24/121824/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 29 Mar 2017 06:26:47 +0000 (15:26 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Thu, 30 Mar 2017 09:05:44 +0000 (02:05 -0700)
There was a bug that rotation work incorrectly when the floating mode window occupies a screen fully.

Change-Id: Ibb769a81fa40d14e4a5d53da15810db8ce747875

src/bin/e_client.c

index f07e965b714b83703db8e5b4b85b203b48cc5dd0..42fc8d26f96d2e68ad00c5eceeaa3da169216bde 100644 (file)
@@ -3114,7 +3114,8 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
                     ec_opaque = EINA_TRUE;
 
                   /* if e_client is not alpha or opaque then delete intersect rect */
-                  if ((!ec->argb) || (ec_opaque))
+                  if (((!ec->argb) || (ec_opaque)) &&
+                      (!ec->floating))
                     {
                        EINA_RECTANGLE_SET(&r,
                                           x,