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.12 by root, Wed Jan 18 10:11:03 2006 UTC vs.
Revision 1.13 by root, Wed Jan 18 11:05:09 2006 UTC

3sub msg { 3sub msg {
4 my ($self, $msg) = @_; 4 my ($self, $msg) = @_;
5 5
6 my $overlay = $self->overlay (0, 0, $self->strwidth ($msg), 1); 6 my $overlay = $self->overlay (0, 0, $self->strwidth ($msg), 1);
7 $overlay->set (0, 0, $msg); 7 $overlay->set (0, 0, $msg);
8 my $iow; $iow = urxvt::timer->new->start (urxvt::NOW + 1)->cb (sub { 8 my $iow; $iow = urxvt::timer->new->after (1)->cb (sub {
9 undef $overlay; 9 undef $overlay;
10 undef $iow; 10 undef $iow;
11 }); 11 });
12} 12}
13 13

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines