aboutsummaryrefslogtreecommitdiff
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,
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;
}