Make sure sticky windows pop to the front if they get sticky while not being on a visible workspace.
This commit also reworks the way focusing sticky windows is prevented by not focusing them temporarily at all, but preventing the focus in the first place.
This commit is contained in:
@ -412,7 +412,7 @@ bool floating_maybe_reassign_ws(Con *con) {
|
||||
Con *content = output_get_content(output->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);
|
||||
con_move_to_workspace(con, ws, false, true, false);
|
||||
con_focus(con_descend_focused(con));
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user