diff --git a/src/floating.c b/src/floating.c index 14988818..e2e9d85a 100644 --- a/src/floating.c +++ b/src/floating.c @@ -449,6 +449,7 @@ bool floating_maybe_reassign_ws(Con *con) { Con *ws = TAILQ_FIRST(&(content->focus_head)); DLOG("Moving con %p / %s to workspace %p / %s\n", con, con->name, ws, ws->name); con_move_to_workspace(con, ws, false, true, false); + workspace_show(ws); con_focus(con_descend_focused(con)); return true; } diff --git a/src/tree.c b/src/tree.c index 710bb655..d1c587d5 100644 --- a/src/tree.c +++ b/src/tree.c @@ -565,10 +565,9 @@ static bool _tree_next(Con *con, char way, orientation_t orientation, bool wrap) focus = con_descend_focused(workspace); } - if (focus) { - con_focus(focus); - x_set_warp_to(&(focus->rect)); - } + workspace_show(workspace); + con_focus(focus); + x_set_warp_to(&(focus->rect)); return true; }