Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eb4c854
)
When moving windows to an empty workspace make sure we focus on the window
author
Marco Peereboom
<marco@conformal.com>
Thu, 15 Jan 2009 17:27:34 +0000
(17:27 +0000)
committer
Marco Peereboom
<marco@conformal.com>
Thu, 15 Jan 2009 17:27:34 +0000
(17:27 +0000)
that just moved there.
scrotwm.c
patch
|
blob
|
history
diff --git
a/scrotwm.c
b/scrotwm.c
index
c6e0439
..
6980e78
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-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);
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;
ws[wsid].focus = win;
ws[wsid].restack = 1;