mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Implement atomic layout updates for tree operations
This implements atomic layout updates for when views map, reparent or unmap.
This commit is contained in:
parent
1c89f32533
commit
38398e2d77
18 changed files with 545 additions and 389 deletions
|
|
@ -430,6 +430,9 @@ bool workspace_switch(struct sway_container *workspace) {
|
|||
}
|
||||
|
||||
bool workspace_is_visible(struct sway_container *ws) {
|
||||
if (ws->destroying) {
|
||||
return false;
|
||||
}
|
||||
struct sway_container *output = container_parent(ws, C_OUTPUT);
|
||||
struct sway_seat *seat = input_manager_current_seat(input_manager);
|
||||
struct sway_container *focus = seat_get_focus_inactive(seat, output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue