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

Comparing rxvt-unicode/src/perl/urxvt-popup (file contents):
Revision 1.14 by root, Thu Jan 19 17:37:01 2006 UTC vs.
Revision 1.16 by root, Sun Jun 10 17:31:53 2012 UTC

1#! perl 1#! perl
2 2
3# this extension implements popup-menu functionality for urxvt. it works 3# this extension implements popup-menu functionality for urxvt. it works
4# together with the urxvt::popup class. 4# together with the urxvt::popup class - "no user servicable parts inside".
5 5
6sub refresh { 6sub refresh {
7 my ($self) = @_; 7 my ($self) = @_;
8 8
9 my $cmd = "\x1b[H"; 9 my $cmd = "\x1b[H";
106 $pos = "+$x+$y"; 106 $pos = "+$x+$y";
107 } 107 }
108 108
109 $self->resource (geometry => "${width}x${height}$pos"); 109 $self->resource (geometry => "${width}x${height}$pos");
110 110
111 $self->{term}{urxvt_popup_init_done} = 1;
112
111 () 113 ()
112} 114}
113 115
114sub on_start { 116sub on_start {
115 my ($self) = @_; 117 my ($self) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines