diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-07 12:11:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 12:11:24 -0400 |
commit | a91a1a419c5d4e92acf72e0db1b285f00e57f4e1 (patch) | |
tree | 2988de6c856c4e04100c0e98f0c4a5aa60908fb4 | |
parent | Merge pull request #1756 from emersion/output-damage (diff) | |
parent | Fix inverted assertion (diff) | |
download | sway-a91a1a419c5d4e92acf72e0db1b285f00e57f4e1.tar.gz sway-a91a1a419c5d4e92acf72e0db1b285f00e57f4e1.tar.zst sway-a91a1a419c5d4e92acf72e0db1b285f00e57f4e1.zip |
Merge pull request #1765 from emersion/fix-bad-assert
Fix inverted assertion
-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, | |||
410 | void *data) { | 410 | void *data) { |
411 | struct sway_output *output = data; | 411 | struct sway_output *output = data; |
412 | 412 | ||
413 | if (!sway_assert(con->type != C_VIEW, "expected a view")) { | 413 | if (!sway_assert(con->type == C_VIEW, "expected a view")) { |
414 | return; | 414 | return; |
415 | } | 415 | } |
416 | 416 | ||