Move parent nodes in scratchpad correctly (#3793)

* Move parent nodes in scratchpad across workspaces

Co-Authored-By: Orestis <orestisflo@gmail.com>
This commit is contained in:
Heman Gandhi
2020-04-10 10:27:40 -04:00
committed by GitHub
parent e2b2a28625
commit b247896a75
2 changed files with 27 additions and 1 deletions

View File

@ -138,7 +138,7 @@ bool scratchpad_show(Con *con) {
floating->scratchpad_state != SCRATCHPAD_NONE) {
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_move_to_workspace(floating, focused_ws, true, false, false);
con_activate(con_descend_focused(walk_con));
return true;
}