mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
Don't track damage for views on inactive tabs
This commit is contained in:
parent
bd79584f65
commit
efc07fb3d4
6 changed files with 52 additions and 11 deletions
|
|
@ -754,10 +754,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_focus_inactive(seat, con);
|
||||
while (current->parent != con) {
|
||||
current = current->parent;
|
||||
}
|
||||
struct sway_container *current = seat_get_active_child(seat, con);
|
||||
struct border_colors *current_colors = NULL;
|
||||
|
||||
// Render tabs
|
||||
|
|
@ -1082,9 +1079,7 @@ static void output_damage_view(struct sway_output *output,
|
|||
return;
|
||||
}
|
||||
|
||||
struct sway_container *workspace = container_parent(view->swayc,
|
||||
C_WORKSPACE);
|
||||
if (workspace->sway_workspace->fullscreen && !view->is_fullscreen) {
|
||||
if (!view_is_visible(view)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue