mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Merge pull request #57 from ailin-nemui/lr-skip-visible
Make window left/right skip windows that are already visible in other… (cherry picked from commit 53187de6a20f772c81cfe568c6696043405a3fd0)
This commit is contained in:
parent
26c4cd8bbf
commit
baf2a43da2
@ -1642,9 +1642,9 @@ static int window_refnum_left(int refnum, int wrap)
|
||||
break;
|
||||
|
||||
window = window_find_refnum(refnum);
|
||||
} while (!WINDOW_STICKY_MATCH(window, find_sticky));
|
||||
} while (!WINDOW_STICKY_MATCH(window, find_sticky) || is_window_visible(window));
|
||||
|
||||
return refnum;
|
||||
return refnum;
|
||||
}
|
||||
|
||||
static int window_refnum_right(int refnum, int wrap)
|
||||
@ -1664,9 +1664,9 @@ static int window_refnum_right(int refnum, int wrap)
|
||||
break;
|
||||
|
||||
window = window_find_refnum(refnum);
|
||||
} while (!WINDOW_STICKY_MATCH(window, find_sticky));
|
||||
} while (!WINDOW_STICKY_MATCH(window, find_sticky) || is_window_visible(window));
|
||||
|
||||
return refnum;
|
||||
return refnum;
|
||||
}
|
||||
|
||||
/* SYNTAX: WINDOW LEFT [-directional] */
|
||||
|
Loading…
x
Reference in New Issue
Block a user