iconify: fixed bug to find above window while checking the window is obscured by... 95/78095/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 4 Jul 2016 09:01:20 +0000 (18:01 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 4 Jul 2016 09:01:20 +0000 (18:01 +0900)
Change-Id: Ic18aee94e66cc2d0e5d5f102c91471c4add2eb2b

src/e_mod_visibility.c

index 4ccfad8..eedd593 100644 (file)
@@ -86,6 +86,7 @@ _e_mod_pol_check_above_alpha_opaque(E_Client *ec)
         above_ec = evas_object_data_get(o, "E_Client");
         if (!above_ec) continue;
         if (e_client_util_ignored_get(above_ec)) continue;
+        if (!E_CONTAINS(above_ec->x, above_ec->y, above_ec->w, above_ec->h, ec->x, ec->y, ec->w, ec->h)) continue;
 
         if ((above_ec->visibility.opaque > 0) && (above_ec->argb))
           {