e_client: remove edge value while calculating visibility 24/274624/1 accepted/tizen/6.5/unified/20220509.153420 submit/tizen_6.5/20220504.020708
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 4 May 2022 01:48:10 +0000 (10:48 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 4 May 2022 01:48:10 +0000 (10:48 +0900)
Change-Id: Id0ad4384a6d85c73c903a7e8b7069eea093ef286

src/bin/e_client.c

index fc09b392f32276d13da935e04813b5a4f3f90243..9c80b0c42ff1a842d4a965ce2e6e02eb47a5ad31 100644 (file)
@@ -3432,7 +3432,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;
@@ -3452,7 +3451,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->h);
    eina_tiler_tile_size_set(t, 1, 1);
 
    if (zone->display_state != E_ZONE_DISPLAY_STATE_OFF)
@@ -3622,8 +3621,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))