]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
[adv_windowlist] update to 1.9.1
authorAilin Nemui <redacted>
Thu, 8 Oct 2020 11:41:57 +0000 (13:41 +0200)
committerAilin Nemui <redacted>
Thu, 8 Oct 2020 11:41:57 +0000 (13:41 +0200)
-  fix crash on mouse click

scripts/adv_windowlist.pl

index 031c5501f1638c8dffe4c5f0071da03b5b909df6..92a4c6ccb8e7e376f819ad0cf7cb390960c4ceed 100644 (file)
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.9'; # 32a6d4807a45e71
+our $VERSION = '1.9.1'; # fcc63b8a943723b
 our %IRSSI = (
     authors     => 'Nei',
     contact     => 'Nei @ anti@conference.jabber.teamidiot.de',
@@ -2015,8 +2015,8 @@ awl_init();
 
 # Mouse script based on irssi mouse patch by mirage
 { my $mouse_status = -1; # -1:off 0,1,2:filling mouse_combo
-  my @mouse_combo; # 0:button 1:x 2:y
-  my @mouse_previous; # previous contents of mouse_combo
+  my @mouse_combo = (-1, -1, -1); # 0:button 1:x 2:y
+  my @mouse_previous = (-1, -1, -1); # previous contents of mouse_combo
 
   sub mouse_xterm_off {
       $mouse_status = -1;
@@ -2811,6 +2811,9 @@ UNITCHECK
 
 # Changelog
 # =========
+# 1.9.1
+# - fix crash on mouse click
+#
 # 1.9
 # - add %Z support to viewer
 #
git clone https://git.99rst.org/PROJECT