sway

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

commit 072984de9e5b74f6fcdb2350d508844b92ad7e7e
parent 2a8cc8645bed6ed314bc79103628b09a0464551a
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri,  5 Aug 2016 07:48:23 -0400

Merge pull request #838 from thejan2009/bug/workspace-switch-bug

Fix switch to prev ws on handle_view_created
Diffstat:
Msway/handlers.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/handlers.c b/sway/handlers.c @@ -410,7 +410,7 @@ static bool handle_view_created(wlc_handle handle) { } wlc_view_set_mask(handle, VISIBLE); - if (return_to_workspace && current_ws) { + if (return_to_workspace && current_ws != swayc_active_workspace()) { // we were on one workspace, switched to another to add this view, // now let's return to where we were workspace_switch(current_ws);