mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
/WINDOW NUMBER: -sticky option added. Closing windows before a sticky
window won't change refnum of the sticky window and windows after it git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1046 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8b5475f789
commit
4613196cd2
3 changed files with 25 additions and 7 deletions
|
|
@ -93,7 +93,8 @@ static void windows_pack(int removed_refnum)
|
|||
|
||||
for (refnum = removed_refnum+1;; refnum++) {
|
||||
window = window_find_refnum(refnum);
|
||||
if (window == NULL) break;
|
||||
if (window == NULL || window->sticky_refnum)
|
||||
break;
|
||||
|
||||
window_set_refnum(window, refnum-1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue