[w3m-dev 04080] Re: inline画 像の表示がずれます
Hiroyuki Ito <[email protected]>
| Newsgroups | gmane.comp.web.w3m.devel |
|---|---|
| Message-ID | <[email protected]> |
> > kterm
> >
>
> > inline
> >
> >
> kterm
> w3m
Index: x11_w3mimg.c
===================================================================
RCS file: /cvsroot/w3m/w3m/w3mimg/x11/x11_w3mimg.c,v
retrieving revision 1.25
diff -u -r1.25 x11_w3mimg.c
--- x11_w3mimg.c 13 Jul 2003 16:19:10 -0000 1.25
+++ x11_w3mimg.c 10 May 2004 09:24:17 -0000
@@ -691,7 +691,7 @@
wop->offset_x = OFFSET_X;
for (i = 0; i < nchildren; i++) {
XGetWindowAttributes(xi->display, children[i], &attr);
- if (attr.x <= 0 && attr.width < 30 && attr.height > wop->height * 0.7) {
+ if (attr.x <= 0 && attr.width < 30 && attr.height > wop->height * 0.7 && attr.map_state == IsViewable) {
/* scrollbar of xterm/kterm ? */
wop->offset_x += attr.x + attr.width + attr.border_width * 2;
break;