Don't track damage for views on inactive tabs

This commit is contained in:
Ryan Dwyer 2018-05-20 09:11:55 +10:00
parent bd79584f65
commit efc07fb3d4
6 changed files with 52 additions and 11 deletions

View file

@ -522,10 +522,7 @@ static struct sway_container *container_at_tabbed(struct sway_container *parent,
}
// Surfaces
struct sway_container *current = seat_get_focus_inactive(seat, parent);
while (current->parent != parent) {
current = current->parent;
}
struct sway_container *current = seat_get_active_child(seat, parent);
return container_at(current, ox, oy, surface, sx, sy);
}