fix: crash when splitting inside stacking container (#187)
This commit is contained in:
parent
3e6626d6c3
commit
edd7aa72bc
|
@ -1551,7 +1551,7 @@ static void render_containers_stacked(struct sway_output *output,
|
||||||
|
|
||||||
struct decoration_data deco_data = {
|
struct decoration_data deco_data = {
|
||||||
.alpha = current->alpha,
|
.alpha = current->alpha,
|
||||||
.dim_color = view_is_urgent(current->view)
|
.dim_color = current->view && view_is_urgent(current->view)
|
||||||
? config->dim_inactive_colors.urgent
|
? config->dim_inactive_colors.urgent
|
||||||
: config->dim_inactive_colors.unfocused,
|
: config->dim_inactive_colors.unfocused,
|
||||||
.dim = current->current.focused || parent->focused ? 0.0f : current->dim,
|
.dim = current->current.focused || parent->focused ? 0.0f : current->dim,
|
||||||
|
|
Loading…
Reference in a new issue