aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-07 12:11:24 -0400
committerGitHub <noreply@github.com>2018-04-07 12:11:24 -0400
commita91a1a419c5d4e92acf72e0db1b285f00e57f4e1 (patch)
tree2988de6c856c4e04100c0e98f0c4a5aa60908fb4
parentc47b4d4edb7714612ec7236fafda5ca54cb92ce4 (diff)
parent33b4f945aba39a728bfe20bef6ce4396df494a03 (diff)
Merge pull request #1765 from emersion/fix-bad-assert
Fix inverted assertion
-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;
}