From 33b4f945aba39a728bfe20bef6ce4396df494a03 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 7 Apr 2018 12:03:13 -0400 Subject: [PATCH] Fix inverted assertion Seems like it doesn't work this way --- sway/desktop/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 23d20b79..dea51bdf 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -410,7 +410,7 @@ static void output_damage_whole_container_iterator(struct sway_container *con, void *data) { struct sway_output *output = data; - if (!sway_assert(con->type != C_VIEW, "expected a view")) { + if (!sway_assert(con->type == C_VIEW, "expected a view")) { return; }