aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-06-24 13:08:47 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-06-24 13:08:47 +1000
commit33e03cb27795b267bcd3c7508363ec8f95127e95 (patch)
tree6a4241fd698cbdb6d6f17d9e4df83f403518745c /sway/desktop
parentf08a30d6d04b5f986ea1e66a017e81bcd7c77e39 (diff)
downloadsway-33e03cb27795b267bcd3c7508363ec8f95127e95.tar.xz
Fix crash related to stacks and tabs
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 1ca48975..790751c3 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -714,7 +714,7 @@ static void render_container_tabbed(struct sway_output *output,
struct sway_seat *seat = input_manager_current_seat(input_manager);
struct sway_container *focus = seat_get_focus(seat);
struct sway_container *current = seat_get_active_current_child(seat, con);
- struct border_colors *current_colors = NULL;
+ struct border_colors *current_colors = &config->border_colors.unfocused;
struct sway_container_state *pstate = &con->current;
// Render tabs
@@ -778,7 +778,7 @@ static void render_container_stacked(struct sway_output *output,
struct sway_seat *seat = input_manager_current_seat(input_manager);
struct sway_container *focus = seat_get_focus(seat);
struct sway_container *current = seat_get_active_current_child(seat, con);
- struct border_colors *current_colors = NULL;
+ struct border_colors *current_colors = &config->border_colors.unfocused;
struct sway_container_state *pstate = &con->current;
// Render titles