ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/selection-popup
(Generate patch)

Comparing rxvt-unicode/src/perl/selection-popup (file contents):
Revision 1.30 by sf-exg, Fri May 23 20:51:15 2014 UTC vs.
Revision 1.31 by sf-exg, Thu Oct 30 09:44:58 2014 UTC

37sub msg { 37sub msg {
38 my ($self, $msg) = @_; 38 my ($self, $msg) = @_;
39 39
40 my $overlay = $self->overlay (0, 0, $self->strwidth ($msg), 1); 40 my $overlay = $self->overlay (0, 0, $self->strwidth ($msg), 1);
41 $overlay->set (0, 0, $msg); 41 $overlay->set (0, 0, $msg);
42 my $iow; $iow = urxvt::timer->new->after (1)->cb (sub { 42 $self->{timer} = urxvt::timer->new->after (1)->cb (sub {
43 delete $self->{timer};
43 undef $overlay; 44 undef $overlay;
44 undef $iow;
45 }); 45 });
46} 46}
47 47
48sub on_start { 48sub on_start {
49 my ($self) = @_; 49 my ($self) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines