revert: temp removed smart gaps support due to bug
This commit is contained in:
parent
2342ded880
commit
768be91e09
|
@ -951,9 +951,10 @@ static void render_containers_linear(struct sway_output *output,
|
||||||
? config->dim_inactive_colors.urgent
|
? config->dim_inactive_colors.urgent
|
||||||
: config->dim_inactive_colors.unfocused,
|
: config->dim_inactive_colors.unfocused,
|
||||||
.dim = child->current.focused ? 0.0f: config->dim_inactive,
|
.dim = child->current.focused ? 0.0f: config->dim_inactive,
|
||||||
// no corner radius if smart gaps are on and only visible view
|
// no corner radius if smart gaps are on and only visible view TODO: FIX
|
||||||
.corner_radius = config->smart_gaps == SMART_GAPS_ON &&
|
//.corner_radius = config->smart_gaps == SMART_GAPS_ON &&
|
||||||
view_ancestor_is_only_visible(view) ? 0 : child->corner_radius,
|
//view_ancestor_is_only_visible(view) ? 0 : child->corner_radius,
|
||||||
|
.corner_radius = child->corner_radius,
|
||||||
.saturation = child->saturation,
|
.saturation = child->saturation,
|
||||||
.has_titlebar = has_titlebar,
|
.has_titlebar = has_titlebar,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue