diff options
Diffstat (limited to 'src/con.c')
-rw-r--r-- | src/con.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1824,9 +1824,7 @@ bool con_draw_decoration_into_frame(Con *con) { } static Rect con_border_style_rect_without_title(Con *con) { - if ((config.smart_borders == SMART_BORDERS_ON && con_num_visible_children(con_get_workspace(con)) <= 1) || - (config.smart_borders == SMART_BORDERS_NO_GAPS && !has_outer_gaps(calculate_effective_gaps(con))) || - (config.hide_edge_borders == HEBM_SMART && con_num_visible_children(con_get_workspace(con)) <= 1) || + if ((config.hide_edge_borders == HEBM_SMART && con_num_visible_children(con_get_workspace(con)) <= 1) || (config.hide_edge_borders == HEBM_SMART_NO_GAPS && con_num_visible_children(con_get_workspace(con)) <= 1 && !has_outer_gaps(calculate_effective_gaps(con)))) { if (!con_is_floating(con)) { return (Rect){0, 0, 0, 0}; |