repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 3c3998c777453e9c67796e91f38e6ede664214ed: path_to: revision_to:
commit 3c3998c777453e9c67796e91f38e6ede664214ed Author: Marc LehmannDate: Sat Mar 4 22:39:52 2006 +0000 *** empty log message *** diff --git a/Changes b/Changes
--- a/Changes
+++ b/Changes
@@ -23,6 +23,8 @@ DUMB: support tex fonts
generic osc_seq.
- fix a bug causing double callback invocations when perl hooks
were invoked recursively.
+ - the automove-background extension now properly works when the
+ pixmap gets reset with an osc sequence (sqweek).
7.7 Tue Feb 21 12:32:49 CET 2006
- use double-buffered drawing (xft fonts only). On many driver/hardware
diff --git a/src/perl/automove-background b/src/perl/automove-background
--- a/src/perl/automove-background
+++ b/src/perl/automove-background
@@ -5,13 +5,11 @@ sub on_osc_seq {
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;
}
-----END OF PAGE-----