diff options
author | RAR27 <[email protected]> | 2023-06-02 18:46:39 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-02 18:46:39 -0400 |
commit | 22327ef300a60294e8a1bc847aac4d4576d3f6c6 (patch) | |
tree | 10e52c295835032a33c55ff1a8230e5295484ba6 /sway | |
parent | c95306fcdf6fc11d4dd39309b392c0954784970a (diff) |
fix: crash when splitting inside tabbed container (#180)
Diffstat (limited to 'sway')
-rw-r--r-- | sway/desktop/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 3472e12f..b9de2025 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -1454,7 +1454,7 @@ static void render_containers_tabbed(struct sway_output *output, struct decoration_data deco_data = { .alpha = current->alpha, - .dim_color = view_is_urgent(current->view) + .dim_color = current->view && view_is_urgent(current->view) ? config->dim_inactive_colors.urgent : config->dim_inactive_colors.unfocused, .dim = current->current.focused || parent->focused ? 0.0f : current->dim, |