mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 12:13:16 +00:00
Fix inverted assertion
Seems like it doesn't work this way
This commit is contained in:
parent
c47b4d4edb
commit
33b4f945ab
|
@ -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