added temp fix for h split
This commit is contained in:
parent
508df2216a
commit
ae1700fa1a
1 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,8 @@ static int animation_timer(void *data) {
|
||||||
} else {
|
} else {
|
||||||
for (int i = 0; i < num_containers; i++) {
|
for (int i = 0; i < num_containers; i++) {
|
||||||
struct sway_container *con = server->animated_containers->items[i];
|
struct sway_container *con = server->animated_containers->items[i];
|
||||||
if (view_is_visible(con->view)) {
|
// TODO: remove add assertion for con->view & investigate what happens when split h containers are spawned
|
||||||
|
if (con->view && view_is_visible(con->view)) {
|
||||||
container_damage_whole(con);
|
container_damage_whole(con);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue