e_client: remove edge value while calculating visibility 23/274623/1 accepted/tizen/unified/20220505.024906 submit/tizen/20220504.012023
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 4 May 2022 00:11:27 +0000 (09:11 +0900)
committerJunseok Kim <juns.kim@samsung.com>
Wed, 4 May 2022 00:56:50 +0000 (09:56 +0900)
Change-Id: I97ed8e842617d385dbfd4baab077d9c0ad9468e5

src/bin/e_client.c

index a3b9af1..9f79679 100644 (file)
@@ -3442,7 +3442,6 @@ _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;
@@ -3462,7 +3461,7 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
 
    TRACE_DS_BEGIN(CLIENT:VISIBILITY CALCULATE);
 
-   t = eina_tiler_new(zone->w + zone->x + edge, zone->h + zone->y + edge);
+   t = eina_tiler_new(zone->w + zone->x, zone->h + zone->y);
    eina_tiler_tile_size_set(t, 1, 1);
 
    if (zone->display_state != E_ZONE_DISPLAY_STATE_OFF)
@@ -3632,8 +3631,8 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
                        EINA_RECTANGLE_SET(&r,
                                           x,
                                           y,
-                                          w + edge,
-                                          h + edge);
+                                          w,
+                                          h);
                        eina_tiler_rect_del(t, &r);
 
                        if (eina_tiler_empty(t))