- add FORCE_UNBUFFERED_XFT define to features.h.
- moved on_osc_seq to on_osc_seq_perl and added a more
generic osc_seq.
+ - fix a bug causing double callback invocations when perl hooks
+ were invoked recursively.
7.7 Tue Feb 21 12:32:49 CET 2006
- use double-buffered drawing (xft fonts only). On many driver/hardware
if ($op == 20) {
my ($pic, $commands) = split(/;/, $args, 2);
- warn " pic=$pic commands=$commands";
if ($pic !~ /^$/ && $commands !~ /[+\-]/) {
my ($x, $y) = $self->XTranslateCoordinates (
$self->vt, $self->DefaultRootWindow,
0, 0
);
- warn " $x $y \\033]20;$pic;=+$x+$y\\007";
$self->cmd_parse ("\033]20;$pic;=+$x+$y\007");
return 1;
}
verbose 10, "$HOOKNAME[$htype] (" . (join ", ", $TERM, @_) . ")"
if $verbosity >= 10;
- keys %$cb;
-
- while (my ($pkg, $cb) = each %$cb) {
- my $retval_ = eval { $cb->($TERM->{_pkg}{$pkg}, @_) };
+ for my $pkg (keys %$cb) {
+ my $retval_ = eval { $cb->{$pkg}->($TERM->{_pkg}{$pkg}, @_) };
$retval ||= $retval_;
if ($@) {