home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bed76e3
)
Corrected comment in shift_active_win().
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 24 Aug 2013 00:08:58 +0000
(
02:08
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 24 Aug 2013 00:08:58 +0000
(
02:08
+0200)
src/windows.c
patch
|
blob
|
history
diff --git
a/src/windows.c
b/src/windows.c
index 8af2ba259411500fa73d3c22ce4483d458bb4051..2c29a1de102ea6e7f7f356451d5b24a675115b73 100644
(file)
--- a/
src/windows.c
+++ b/
src/windows.c
@@
-447,9
+447,9
@@
extern void cycle_active_win(struct WinMeta * wmeta, char dir)
extern uint8_t shift_active_win(struct WinMeta * wmeta, char dir)
{
extern uint8_t shift_active_win(struct WinMeta * wmeta, char dir)
{
- if (0 != wmeta->active
/* No shifting with less
*/
- && wmeta->chain_start != wmeta->chain_end
/* than one window
visible. */
- && (dir == 'f' || dir == 'b'))
+ if (0 != wmeta->active
/* No shifting with less
*/
+ && wmeta->chain_start != wmeta->chain_end
/* than 2 windows
visible. */
+ && (dir == 'f' || dir == 'b'))
/* and wrong dir char. */
{
struct Win * w_shift = wmeta->active, * w_p, * w_p_next;
{
struct Win * w_shift = wmeta->active, * w_p, * w_p_next;