ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/automove-background
Revision: 1.3
Committed: Fri Jan 20 15:24:24 2006 UTC (18 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-7_3, rel-7_2, rel-7_5, rel-7_4, rel-7_3a
Changes since 1.2: +10 -4 lines
Log Message:
*** empty log message ***

File Contents

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