diff options
author | Will McKinnon <[email protected]> | 2022-12-25 13:40:07 -0500 |
---|---|---|
committer | Will McKinnon <[email protected]> | 2022-12-25 13:40:07 -0500 |
commit | 768be91e09ac59675041449571f0ad69d2f642c7 (patch) | |
tree | 26f2f84dd2515160f29c42d0fb9bb941ce0c628d | |
parent | 2342ded8807a36b7aa31e015597c6ab117102c2a (diff) |
revert: temp removed smart gaps support due to bug
-rw-r--r-- | sway/desktop/render.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 78d4e019..28f69614 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -951,9 +951,10 @@ static void render_containers_linear(struct sway_output *output, ? config->dim_inactive_colors.urgent : config->dim_inactive_colors.unfocused, .dim = child->current.focused ? 0.0f: config->dim_inactive, - // no corner radius if smart gaps are on and only visible view - .corner_radius = config->smart_gaps == SMART_GAPS_ON && - view_ancestor_is_only_visible(view) ? 0 : child->corner_radius, + // no corner radius if smart gaps are on and only visible view TODO: FIX + //.corner_radius = config->smart_gaps == SMART_GAPS_ON && + //view_ancestor_is_only_visible(view) ? 0 : child->corner_radius, + .corner_radius = child->corner_radius, .saturation = child->saturation, .has_titlebar = has_titlebar, }; |