summaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
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,
410 void *data) { 410 void *data) {
411 struct sway_output *output = data; 411 struct sway_output *output = data;
412 412
413 if (!sway_assert(con->type != C_VIEW, "expected a view")) { 413 if (!sway_assert(con->type == C_VIEW, "expected a view")) {
414 return; 414 return;
415 } 415 }
416 416