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

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.205 by root, Mon Jul 2 03:57:53 2012 UTC vs.
Revision 1.207 by sf-exg, Fri Dec 28 21:19:21 2012 UTC

57typedef int render_repeat_mode; 57typedef int render_repeat_mode;
58 58
59#if HAVE_PIXBUF 59#if HAVE_PIXBUF
60typedef GdkPixbuf * urxvt__pixbuf; 60typedef GdkPixbuf * urxvt__pixbuf;
61#endif 61#endif
62#if HAVE_IMG
62typedef rxvt_img * urxvt__img; 63typedef rxvt_img * urxvt__img;
63typedef rxvt_img::nv rxvt_img__nv; 64typedef rxvt_img::nv rxvt_img__nv;
64 65
65///////////////////////////////////////////////////////////////////////////// 66/////////////////////////////////////////////////////////////////////////////
66 67
105 106
106 return c; 107 return c;
107} 108}
108 109
109///////////////////////////////////////////////////////////////////////////// 110/////////////////////////////////////////////////////////////////////////////
111#endif
110 112
111static wchar_t * 113static wchar_t *
112sv2wcs (SV *sv) 114sv2wcs (SV *sv)
113{ 115{
114 STRLEN len; 116 STRLEN len;
2214 if (img) // TODO: cannot be false 2216 if (img) // TODO: cannot be false
2215 { 2217 {
2216 img = img->clone (); // own the img 2218 img = img->clone (); // own the img
2217 2219
2218 if (img->repeat != RepeatNormal) // X11 only supports RepeatNormal as bg pixmap 2220 if (img->repeat != RepeatNormal) // X11 only supports RepeatNormal as bg pixmap
2219 img->sub_rect (0, 0, 2221 img->sub_rect (0, 0,
2220 border ? THIS->vt_width : THIS->szHint.width, 2222 border ? THIS->vt_width : THIS->szHint.width,
2221 border ? THIS->vt_height : THIS->szHint.height) 2223 border ? THIS->vt_height : THIS->szHint.height)
2222 ->replace (img); 2224 ->replace (img);
2223 2225
2224 // just in case, should usually be a nop 2226 // just in case, should usually be a nop
2225 img->reify () 2227 img->reify ()
2226 ->replace (img); 2228 ->replace (img);
2227 2229

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines