summaryrefslogtreecommitdiff
path: root/src/perl/textui
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-08-08 13:56:00 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-08-08 13:56:00 +0000
commitc7d1fa390ba54a417ed27e8db5ee1358064d0097 (patch)
tree59051ad6069c2a577438f7a9ad7989efb00257c9 /src/perl/textui
parentd5ded8f97721f1326d41b80ef5746365a8547223 (diff)
downloadirssi-c7d1fa390ba54a417ed27e8db5ee1358064d0097.zip
Added window variable to Irssi::TextUI::StatusbarItem
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2871 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/textui')
-rw-r--r--src/perl/textui/TextUI.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/perl/textui/TextUI.xs b/src/perl/textui/TextUI.xs
index 8d49ac44..f70591e9 100644
--- a/src/perl/textui/TextUI.xs
+++ b/src/perl/textui/TextUI.xs
@@ -69,6 +69,7 @@ static void perl_statusbar_item_fill_hash(HV *hv, SBAR_ITEM_REC *item)
hv_store(hv, "max_size", 8, newSViv(item->max_size), 0);
hv_store(hv, "xpos", 4, newSViv(item->xpos), 0);
hv_store(hv, "size", 4, newSViv(item->size), 0);
+ hv_store(hv, "window", 6, plain_bless(item->bar->parent_window, "Irssi::UI::Window"), 0);
}
static PLAIN_OBJECT_INIT_REC textui_plains[] = {