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

Comparing rxvt-unicode/src/perl/automove-background (file contents):
Revision 1.2 by root, Fri Jan 20 14:41:07 2006 UTC vs.
Revision 1.3 by root, Fri Jan 20 15:24:24 2006 UTC

1#! perl 1#! perl
2 2
3sub on_configure_notify { 3sub on_configure_notify {
4 my ($self, $event) = @_; 4 my ($self, $event) = @_;
5
6 my ($x, $y);
5 7
8 if ($event->{send_event}) {
9 ($x, $y) = ($event->{x}, $event->{y});
10 } else {
6 my ($x, $y) = $self->XTranslateCoordinates ( 11 ($x, $y) = $self->XTranslateCoordinates (
7 $self->parent, $self->DefaultRootWindow, 12 $self->parent, $self->DefaultRootWindow,
8 0, 0 13 0, 0
9 ); 14 );
15 }
10 16
11 $self->cmd_parse ("\033]20;;=+$x+$y\007"); 17 $self->cmd_parse ("\033]20;;=+$x+$y\007");
12} 18}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines