From e8aadda291dfdc78b1fe65f1a8ec3db154efedbe Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Mon, 21 Mar 2022 12:01:19 +0900 Subject: [PATCH] e_client: consider zone's position while calculating visibility To calculate visibility, we make a tiler to calculate region first. But there was a bug that the visibility was wrong in multi zone environment because we didn't consider the zone's position when we made a tiler. This patch resolves this problem. Change-Id: I068428547eea43c43eaa21024f35e2e52ba0d505 --- src/bin/e_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 9c48c58..87ac42d 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -3462,7 +3462,7 @@ _e_client_visibility_zone_calculate(E_Zone *zone) TRACE_DS_BEGIN(CLIENT:VISIBILITY CALCULATE); - t = eina_tiler_new(zone->w + edge, zone->h + edge); + t = eina_tiler_new(zone->w + zone->x + edge, zone->h + zone->y + edge); eina_tiler_tile_size_set(t, 1, 1); if (zone->display_state != E_ZONE_DISPLAY_STATE_OFF) -- 2.7.4