aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-07 12:03:13 -0400
committeremersion <contact@emersion.fr>2018-04-07 12:03:13 -0400
commit33b4f945aba39a728bfe20bef6ce4396df494a03 (patch)
tree2988de6c856c4e04100c0e98f0c4a5aa60908fb4
parentc47b4d4edb7714612ec7236fafda5ca54cb92ce4 (diff)
downloadsway-33b4f945aba39a728bfe20bef6ce4396df494a03.zip
sway-33b4f945aba39a728bfe20bef6ce4396df494a03.tar.gz
sway-33b4f945aba39a728bfe20bef6ce4396df494a03.tar.bz2
Fix inverted assertion
Seems like it doesn't work this way
-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 23d20b7..dea51bd 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;
}