Revert "e_client: remove edge value while calculating visibility" 59/276359/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 15 Jun 2022 05:56:25 +0000 (14:56 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 15 Jun 2022 06:42:45 +0000 (15:42 +0900)
This reverts commit 30ddbd419145f3f1c4cec1f4021ea1a7b56a6de5.

Change-Id: I147a04838130b773fed8a686c0752b65976c5c36

src/bin/e_client.c

index 93d71c1..d768be9 100644 (file)
@@ -3473,6 +3473,7 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
    Eina_Bool is_display_off = EINA_FALSE;
 
    int x = 0, y = 0, w = 0, h = 0;
+   const int edge = 1;
    E_Comp_Wl_Client_Data *cdata;
    Eina_List *changed_list = NULL;
    Eina_List *l = NULL;
@@ -3492,7 +3493,7 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
 
    TRACE_DS_BEGIN(CLIENT:VISIBILITY CALCULATE);
 
-   t = eina_tiler_new(zone->w + zone->x, zone->h + zone->y);
+   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)
@@ -3662,8 +3663,8 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
                        EINA_RECTANGLE_SET(&r,
                                           x,
                                           y,
-                                          w,
-                                          h);
+                                          w + edge,
+                                          h + edge);
                        eina_tiler_rect_del(t, &r);
 
                        if (eina_tiler_empty(t))