mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
When moving windows to an empty workspace make sure we focus on the window
that just moved there.
This commit is contained in:
parent
eb4c85488d
commit
9888af9f7f
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ send_to_ws(union arg *args)
|
|||
TAILQ_REMOVE(&ws[current_ws].winlist, win, entry);
|
||||
|
||||
TAILQ_INSERT_TAIL(&ws[wsid].winlist, win, entry);
|
||||
if (count_win(wsid, 1) == 0)
|
||||
if (count_win(wsid, 1) == 1)
|
||||
ws[wsid].focus = win;
|
||||
ws[wsid].restack = 1;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue