sway

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

commit 5de2223c6df480759ee6d8f4422c2643491595d0
parent 38675eba7be471a2dacb5928f54d046297c23517
Author: Ryan Dwyer <RyanDwyer@users.noreply.github.com>
Date:   Sat,  4 Aug 2018 10:26:55 +1000

Merge pull request #2419 from RedSoxFan/fix-2416

Check correct ws for sticky and fix floating iter
Diffstat:
Msway/tree/workspace.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c @@ -412,6 +412,11 @@ bool workspace_switch(struct sway_container *workspace) { has_sticky = true; container_remove_child(floater); container_add_child(workspace->sway_workspace->floating, floater); + if (floater == focus) { + seat_set_focus(seat, NULL); + seat_set_focus(seat, floater); + } + --i; } }