Revision: | 1.4 |
Committed: | Sun Feb 5 01:24:44 2006 UTC (18 years, 3 months ago) by root |
Branch: | MAIN |
Changes since 1.3: | +1 -1 lines |
Log Message: | *** empty log message *** |
# | User | Rev | Content |
---|---|---|---|
1 | root | 1.1 | #! perl |
2 | |||
3 | sub on_configure_notify { | ||
4 | my ($self, $event) = @_; | ||
5 | root | 1.3 | |
6 | my ($x, $y); | ||
7 | root | 1.1 | |
8 | root | 1.3 | if ($event->{send_event}) { |
9 | ($x, $y) = ($event->{x}, $event->{y}); | ||
10 | } else { | ||
11 | ($x, $y) = $self->XTranslateCoordinates ( | ||
12 | root | 1.4 | $self->vt, $self->DefaultRootWindow, |
13 | root | 1.3 | 0, 0 |
14 | ); | ||
15 | } | ||
16 | root | 1.2 | |
17 | $self->cmd_parse ("\033]20;;=+$x+$y\007"); | ||
18 | root | 1.1 | } |