Skip to content

Commit

Permalink
fix: redefinition of state
Browse files Browse the repository at this point in the history
  • Loading branch information
WillPower3309 committed Apr 17, 2023
1 parent cbfb7af commit 7e302de
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sway/desktop/render.c
Original file line number Diff line number Diff line change
Expand Up @@ -778,8 +778,6 @@ static void render_view(struct sway_output *output, pixman_region32_t *damage,
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
if (state->border == B_CSD && !config->shadows_on_csd_enabled) {
return;
Expand Down

0 comments on commit 7e302de

Please sign in to comment.