mirror of
https://github.com/NickHu/sway
synced 2024-12-28 22:23:30 +01:00
bc981b2bbb
Changing the focus stack when destroying a container's node on a non-visible workspace (on an non-focused output) incorrectly causes the non-visible workspace to become visible. If the workspace is empty, it will not be destroyed since it is now visible. Additionally since there was no workspace::focus event, swaybar still shows the previous workspace as focus-inactive. It also makes no sense to change visible workspaces due to a container on a non-visible workspace being destroyed. Since the focus will either be set when switching to the non-visible workspace or the workspace will be destroyed due to being empty, there is no need to change the focus stack when destroying a container on a non-visible workspace. |
||
---|---|---|
.. | ||
cursor.c | ||
input-manager.c | ||
keyboard.c | ||
seat.c |