aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 376cc332..93d4fefc 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -215,8 +215,8 @@ void view_autoconfigure(struct sway_view *view) {
215 215
216 if (!container_is_floating(con) && ws) { 216 if (!container_is_floating(con) && ws) {
217 217
218 bool smart = config->hide_edge_borders == E_SMART || 218 bool smart = config->hide_edge_borders_smart == ESMART_ON ||
219 (config->hide_edge_borders == E_SMART_NO_GAPS && 219 (config->hide_edge_borders_smart == ESMART_NO_GAPS &&
220 !gaps_to_edge(view)); 220 !gaps_to_edge(view));
221 bool hide_smart = smart && view_is_only_visible(view); 221 bool hide_smart = smart && view_is_only_visible(view);
222 222