aboutsummaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-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 1a72b5db..1b3143d0 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -475,7 +475,7 @@ static void output_damage_whole_container_iterator(struct sway_container *con,
475 void *data) { 475 void *data) {
476 struct sway_output *output = data; 476 struct sway_output *output = data;
477 477
478 if (!sway_assert(con->type != C_VIEW, "expected a view")) { 478 if (!sway_assert(con->type == C_VIEW, "expected a view")) {
479 return; 479 return;
480 } 480 }
481 481