diff options
author | emersion <contact@emersion.fr> | 2018-04-07 12:03:13 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-07 12:03:13 -0400 |
commit | 33b4f945aba39a728bfe20bef6ce4396df494a03 (patch) | |
tree | 2988de6c856c4e04100c0e98f0c4a5aa60908fb4 /sway/desktop | |
parent | c47b4d4edb7714612ec7236fafda5ca54cb92ce4 (diff) |
Fix inverted assertion
Seems like it doesn't work this way
Diffstat (limited to 'sway/desktop')
-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 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; } |