From b8c668bb44be28366f2ed7badc90fb9cbb51ea54 Mon Sep 17 00:00:00 2001 From: William McKinnon Date: Fri, 12 May 2023 12:15:48 -0400 Subject: [PATCH] removed unneeded conditional --- sway/tree/workspace.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index d60608b4..161b1e9c 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c @@ -695,10 +695,7 @@ static bool find_blurred_con_iterator(struct sway_container *con, void *data) { if (!view) { return false; } - if (con->blur_enabled && !view->surface->opaque) { - return true; - } - return false; + return con->blur_enabled && !view->surface->opaque; } bool should_workspace_have_blur(struct sway_workspace *ws) {