diff options
-rw-r--r-- | sway/desktop/output.c | 2 |
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, 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; } |