mirror of
https://github.com/swaywm/sway.git
synced 2025-02-06 02:05:23 +01:00
Merge pull request #1765 from emersion/fix-bad-assert
Fix inverted assertion
This commit is contained in:
commit
a91a1a419c
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ static void output_damage_whole_container_iterator(struct sway_container *con,
|
||||||
void *data) {
|
void *data) {
|
||||||
struct sway_output *output = 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue