summaryrefslogtreecommitdiffstats
path: root/sway/tree/workspace.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-08-12 02:28:49 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-08-20 13:27:52 +0900
commite8204a852dc7bfa93cd1a7e9626adb3ddc3a00ad (patch)
treeea76dd32098a09b84dab9ed7662452f8f1582559 /sway/tree/workspace.c
parentRemove redundant checks (diff)
downloadsway-e8204a852dc7bfa93cd1a7e9626adb3ddc3a00ad.tar.gz
sway-e8204a852dc7bfa93cd1a7e9626adb3ddc3a00ad.tar.zst
sway-e8204a852dc7bfa93cd1a7e9626adb3ddc3a00ad.zip
handle_seat_node_destroy: do not focus own node
In handle_seat_node_destroy, it was possible to focus the node attached to the seat node that is being destroyed when an empty workspace was being destroyed in a multiple seat environment. This resulted in infinite recursion when attempting to destroy the workspace. This just moves the seat node destruction higher so it cannot be the focus inactive for the seat. This is the same ordering that is applied to destruction of seat nodes for containers
Diffstat (limited to 'sway/tree/workspace.c')
0 files changed, 0 insertions, 0 deletions