From ae1700fa1a216ec4e9a9a90f116510cf55154644 Mon Sep 17 00:00:00 2001 From: William McKinnon Date: Thu, 29 Feb 2024 19:05:53 -0500 Subject: [PATCH] added temp fix for h split --- sway/server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sway/server.c b/sway/server.c index b95c4c68..6acb1b3e 100644 --- a/sway/server.c +++ b/sway/server.c @@ -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); } }