X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=src%2Fx.c;fp=src%2Fx.c;h=c68b9ccd5f1541d511101e58fd4dab20ecd1690f;hp=9d92167ab643835ec2fc147f3f11dc3fdfd3b2a5;hb=966915cfb2ce07c14479f7fa744b727e6c855888;hpb=4219eb213b02a8d42295662febb047a1cff1d12c 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