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
(from parent 1:
c292d0e
)
ugh, i can't believe i have looked for this bug this long...
author
Marco Peereboom
<marco@conformal.com>
Fri, 23 Oct 2009 20:07:06 +0000
(20:07 +0000)
committer
Marco Peereboom
<marco@conformal.com>
Fri, 23 Oct 2009 20:07:06 +0000
(20:07 +0000)
now jxplorer is correctly focussed when it is the nth window in the stack
when created
scrotwm.c
patch
|
blob
|
history
diff --git
a/scrotwm.c
b/scrotwm.c
index
8bfd2f3
..
07a4417
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-1690,7
+1690,7
@@
focus_prev(struct ws_win *win)
if (cur_focus == win)
winfocus = TAILQ_PREV(win, ws_win_list, entry);
if (winfocus == NULL)
- winfocus = TAILQ_FIRST(wl);
+ winfocus = TAILQ_LAST(wl, ws_win_list);
if (winfocus == NULL || winfocus == win)
winfocus = TAILQ_NEXT(cur_focus, entry);
done: