mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Support for "immortal" windows, that can't be closed until explicitly set to
mortal with /WINDOW IMMORTAL OFF. Status and msgs windows are immortal by default. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2422 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
59c5bb100a
commit
9bb16705a5
7 changed files with 69 additions and 7 deletions
|
|
@ -36,6 +36,7 @@ static void perl_window_fill_hash(HV *hv, WINDOW_REC *window)
|
|||
hv_store(hv, "servertag", 9, new_pv(window->servertag), 0);
|
||||
hv_store(hv, "level", 5, newSViv(window->level), 0);
|
||||
|
||||
hv_store(hv, "immortal", 8, newSViv(window->immortal), 0);
|
||||
hv_store(hv, "sticky_refnum", 13, newSViv(window->sticky_refnum), 0);
|
||||
|
||||
hv_store(hv, "data_level", 10, newSViv(window->data_level), 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue