sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit f645f8efd688104cdeac01cd940b32a8ff978571
parent b7f0656fab355f6dc83792794d9f1be780915d0b
Author: Ronan Pigott <rpigott@berkeley.edu>
Date:   Thu, 12 Dec 2019 00:07:48 -0700

Fix lingering workspace with scratchpad show

Showing a window in the scratchpad can move a visible scratchpad window
from another workspace to the current one. If the scratchpad window was
the last visible container in that workspace, the old workspace should
be destroyed.

Diffstat:
Msway/tree/root.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sway/tree/root.c b/sway/tree/root.c @@ -131,6 +131,7 @@ void root_scratchpad_show(struct sway_container *con) { // Show the container if (old_ws) { container_detach(con); + workspace_consider_destroy(old_ws); } workspace_add_floating(new_ws, con);