From 7e302de4c2178014fb9fe4741fd685d0b0a56808 Mon Sep 17 00:00:00 2001 From: Will McKinnon Date: Mon, 17 Apr 2023 17:42:14 -0400 Subject: [PATCH] fix: redefinition of state --- sway/desktop/render.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sway/desktop/render.c b/sway/desktop/render.c index d2b366b5..d7869ee3 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -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;