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.6 by root, Sat Jan 7 23:18:56 2006 UTC vs.
Revision 1.7 by root, Sun Jan 8 00:29:38 2006 UTC

55 $self->destroy; 55 $self->destroy;
56 } 56 }
57 57
58 $self->{press}[$event->{button}] = 0; 58 $self->{press}[$event->{button}] = 0;
59 59
60 if ($event->{button} == 1) {
61 refresh $self; 60 refresh $self;
62 61
63 warn "$event->{row} $event->{col}\n";#d#
64
65 if ($col >= 0 && $col < $self->ncol 62 if ($col >= 0 && $col < $self->ncol
66 && $row >= 0 && $row < @{ $self->{data}{item} }) { 63 && $row >= 0 && $row < @{ $self->{data}{item} }) {
67 $self->{data}{item}[$row]{activate}->($event); 64 $self->{data}{item}[$row]{activate}->($event);
68 print "ok\n";
69 }
70 } 65 }
71 66
72 1 67 1
73} 68}
74 69

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines