mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -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
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue