ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/background
(Generate patch)

Comparing rxvt-unicode/src/perl/background (file contents):
Revision 1.88 by root, Sat May 17 13:38:23 2014 UTC vs.
Revision 1.90 by sf-exg, Mon Mar 16 10:06:09 2015 UTC

54 54
55 urxvt --background-expr 'scale keep { load "/path/to/mybg.png" }' 55 urxvt --background-expr 'scale keep { load "/path/to/mybg.png" }'
56 56
57Or specified as a X resource: 57Or specified as a X resource:
58 58
59 URxvt.background-expr: scale keep { load "/path/to/mybg.png" } 59 URxvt.background.expr: scale keep { load "/path/to/mybg.png" }
60 60
61=head1 THEORY OF OPERATION 61=head1 THEORY OF OPERATION
62 62
63At startup, just before the window is mapped for the first time, the 63At startup, just before the window is mapped for the first time, the
64expression is evaluated and must yield an image. The image is then 64expression is evaluated and must yield an image. The image is then
1186# } 1186# }
1187 1187
1188 # set background pixmap 1188 # set background pixmap
1189 1189
1190 $self->set_background ($img, $self->{border}); 1190 $self->set_background ($img, $self->{border});
1191 $self->scr_recolour (0); 1191 $self->scr_recolor (0);
1192 $self->want_refresh; 1192 $self->want_refresh;
1193} 1193}
1194 1194
1195sub on_start { 1195sub on_start {
1196 my ($self) = @_; 1196 my ($self) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines