Correctly render containers when a split container is focused
This commit is contained in:
2
src/x.c
2
src/x.c
@ -290,7 +290,7 @@ void x_draw_decoration(Con *con) {
|
||||
/* find out which colors to use */
|
||||
if (con->urgent)
|
||||
p->color = &config.client.urgent;
|
||||
else if (con == focused)
|
||||
else if (con == focused || con_inside_focused(con))
|
||||
p->color = &config.client.focused;
|
||||
else if (con == TAILQ_FIRST(&(parent->focus_head)))
|
||||
p->color = &config.client.focused_inactive;
|
||||
|
Reference in New Issue
Block a user