added temp fix for h split

This commit is contained in:
William McKinnon 2024-02-29 19:05:53 -05:00
parent 508df2216a
commit ae1700fa1a

View file

@ -113,7 +113,8 @@ static int animation_timer(void *data) {
} else {
for (int i = 0; i < num_containers; 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);
}
}