From 966915cfb2ce07c14479f7fa744b727e6c855888 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Thu, 4 Oct 2018 15:02:37 +0300 Subject: [PATCH] borders_to_hide doesn't need to be initialized --- src/x.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/x.c b/src/x.c index 9d92167a..c68b9ccd 100644 --- a/src/x.c +++ b/src/x.c @@ -504,9 +504,7 @@ void x_draw_decoration(Con *con) { /* 3: draw a rectangle in border color around the client */ if (p->border_style != BS_NONE && p->con_is_leaf) { /* We might hide some borders adjacent to the screen-edge */ - adjacent_t borders_to_hide = ADJ_NONE; - borders_to_hide = con_adjacent_borders(con) & config.hide_edge_borders; - + adjacent_t borders_to_hide = con_adjacent_borders(con) & config.hide_edge_borders; Rect br = con_border_style_rect(con); /* These rectangles represent the border around the child window -- 2.39.5