X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=src%2Fwindows.c;h=2c29a1de102ea6e7f7f356451d5b24a675115b73;hb=f89a93a290b7b6bddb442709b58e4fdb10a3e378;hp=8af2ba259411500fa73d3c22ce4483d458bb4051;hpb=bed76e36029b889501cf45e6852830fbfa35ea11;p=plomrogue diff --git a/src/windows.c b/src/windows.c index 8af2ba2..2c29a1d 100644 --- 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) { - 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;