fix: redefinition of state
This commit is contained in:
parent
cbfb7af7fd
commit
7e302de4c2
|
@ -778,8 +778,6 @@ static void render_view(struct sway_output *output, pixman_region32_t *damage,
|
||||||
render_view_toplevels(view, output, damage, deco_data);
|
render_view_toplevels(view, output, damage, deco_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct sway_container_state *state = &con->current;
|
|
||||||
|
|
||||||
// Only draw shadows on CSD windows if shadows_on_csd is enabled
|
// Only draw shadows on CSD windows if shadows_on_csd is enabled
|
||||||
if (state->border == B_CSD && !config->shadows_on_csd_enabled) {
|
if (state->border == B_CSD && !config->shadows_on_csd_enabled) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue