From: Orestis Floros Date: Thu, 4 Oct 2018 12:02:37 +0000 (+0300) Subject: borders_to_hide doesn't need to be initialized X-Git-Tag: 4.16~14^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=966915cfb2ce07c14479f7fa744b727e6c855888;p=i3%2Fi3 borders_to_hide doesn't need to be initialized --- 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