|
|
|
@ -713,7 +713,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_child(seat, con);
|
|
|
|
|
struct sway_container *current = seat_get_active_current_child(seat, con);
|
|
|
|
|
struct border_colors *current_colors = NULL;
|
|
|
|
|
struct sway_container_state *pstate = &con->current;
|
|
|
|
|
|
|
|
|
@ -756,6 +756,7 @@ static void render_container_tabbed(struct sway_output *output,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Render surface and left/right/bottom borders
|
|
|
|
|
if (current) {
|
|
|
|
|
if (current->type == C_VIEW) {
|
|
|
|
|
render_view(output, damage, current, current_colors);
|
|
|
|
|
} else {
|
|
|
|
@ -763,6 +764,7 @@ static void render_container_tabbed(struct sway_output *output,
|
|
|
|
|
parent_focused || current == focus);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Render a container's children using the L_STACKED layout.
|
|
|
|
@ -775,7 +777,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_child(seat, con);
|
|
|
|
|
struct sway_container *current = seat_get_active_current_child(seat, con);
|
|
|
|
|
struct border_colors *current_colors = NULL;
|
|
|
|
|
struct sway_container_state *pstate = &con->current;
|
|
|
|
|
|
|
|
|
@ -812,6 +814,7 @@ static void render_container_stacked(struct sway_output *output,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Render surface and left/right/bottom borders
|
|
|
|
|
if (current) {
|
|
|
|
|
if (current->type == C_VIEW) {
|
|
|
|
|
render_view(output, damage, current, current_colors);
|
|
|
|
|
} else {
|
|
|
|
@ -819,6 +822,7 @@ static void render_container_stacked(struct sway_output *output,
|
|
|
|
|
parent_focused || current == focus);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void render_container(struct sway_output *output,
|
|
|
|
|
pixman_region32_t *damage, struct sway_container *con,
|
|
|
|
|