From b22085b2c12b2935c12c93778a35a38838e0b6c1 Mon Sep 17 00:00:00 2001 From: ayin Date: Fri, 16 Nov 2007 10:06:40 +0000 Subject: [PATCH] Nuke automove-background. --- src/perl/automove-background | 39 ------------------------------------ src/urxvt.pm | 15 +------------- 2 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 src/perl/automove-background diff --git a/src/perl/automove-background b/src/perl/automove-background deleted file mode 100644 index ebbc6a34..00000000 --- a/src/perl/automove-background +++ /dev/null @@ -1,39 +0,0 @@ -#! perl - -sub xy { - my ($self) = @_; - - $self->XTranslateCoordinates ( - $self->vt, $self->DefaultRootWindow, - 0, 0 - ) -} - -sub on_osc_seq { - my ($self, $op, $args) = @_; - - if ($op == 20) { - my ($pic, $commands) = split(/;/, $args, 2); - if ($pic !~ /^$/ && $commands !~ /[+\-]/) { - my ($x, $y) = $self->XTranslateCoordinates ( - $self->vt, $self->DefaultRootWindow, - 0, 0 - ); - my ($x, $y) = $self->xy; - $self->cmd_parse ("\033]20;$pic;=+$x+$y\007"); - return 1; - } - } - - () -} - -sub on_configure_notify { - my ($self, $event) = @_; - - my ($x, $y) = $self->xy; - - $self->cmd_parse ("\033]20;;=+$x+$y\007"); - - () -} diff --git a/src/urxvt.pm b/src/urxvt.pm index b76ae776..1168c57a 100644 --- a/src/urxvt.pm +++ b/src/urxvt.pm @@ -42,7 +42,7 @@ You can activate them like this: Or by adding them to the resource for extensions loaded by default: - URxvt.perl-ext-common: default,automove-background,selection-autotransform + URxvt.perl-ext-common: default,selection-autotransform =over 4 @@ -305,19 +305,6 @@ extension will actually grab a physical key just for this function. If you want a quake-like animation, tell your window manager to do so (fvwm can do it). -=item automove-background - -This is basically a very small extension that dynamically changes the -background pixmap offset to the window position, in effect creating the -same effect as pseudo transparency with a custom pixmap. No scaling is -supported in this mode. Example: - - @@RXVT_NAME@@ -pixmap background.xpm -pe automove-background - -L -shows how this extension can be used to implement an automatically blurred -transparent background. - =item block-graphics-to-ascii A not very useful example of filtering all text output to the terminal -- 2.34.1