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;