Call con_activate after moving scratchpad window to current ws

Fixes #3361
This commit is contained in:
Orestis Floros
2018-08-17 12:34:20 +03:00
parent 4b3ff9cdd4
commit cac28b69d4
2 changed files with 34 additions and 0 deletions

View File

@ -141,6 +141,7 @@ bool scratchpad_show(Con *con) {
DLOG("Found a visible scratchpad window on another workspace,\n");
DLOG("moving it to this workspace: con = %p\n", walk_con);
con_move_to_workspace(walk_con, focused_ws, true, false, false);
con_activate(con_descend_focused(walk_con));
return true;
}
}