veliaa> It is a patch to allow one to put a pixmap file on an Fvwm
veliaa> button.
My friend mentioned to me that there is a bug(?) in locating
pixmap. Here is a patch to fix. I made this patch of course but
debugging is done by my friends, so I don't know what is fixed :-)
--- borders.c.dist Sat Mar 2 23:28:04 1996
+++ borders.c Sat Mar 2 23:30:10 1996
_at_@ -215,7 +215,7 @@
XSetClipMask(dpy, Scr.ButtonMaskGC, pbf.mask);
/* draw the new button face */
XCopyArea(dpy, pbf.face, t->left_w[i], Scr.ButtonMaskGC,
- 0, 0, pbf.w, pbf.h, x, y);
+ 1, 1, pbf.w, pbf.h, x, y);
break;
#endif
#endif
_at_@ -289,7 +289,7 @@
XSetClipMask(dpy, Scr.ButtonMaskGC, pbf.mask);
/* draw the new button face */
XCopyArea(dpy, pbf.face, t->right_w[i], Scr.ButtonMaskGC,
- 0, 0, pbf.w, pbf.h, x, y);
+ 1, 1, pbf.w, pbf.h, x, y);
break;
#endif
#endif
- -
Makoto `MAR_kun' MATSUSHITA
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sat Mar 02 1996 - 08:37:15 GMT