FVWM: PixmapButton Patch

From: Andrew Veliath <veliaa_at_rpi.edu>
Date: Wed, 20 Mar 1996 15:52:05 -0500 (EST)

Hi Folks, here is my latest PixmapButton patch. It has not been extensively
tested, so please try it and report problems to me. You have been given fair
warning ;^).

Bug fixes/changes:
- when no pixmap button support compiled in, things should work correctly
- transparency mask should now work correctly (offset was incorrectly handled
before)
- some code cleanups here and there

Added:
- usage infolet in man page (fvwm2.man)

The patch installs onto a clean fvwm 2.0.41 tree. For instance, if fvwm-2.041/
was in my current directory, I could patch it with 'zcat fvwm-pxp-3.diff.gz |
patch' . The patch itself is uuencoded and attached to this message.

Thanks,


begin 664 fvwm-pxp-3.diff.gz
M'XL(")QG4#$"`V9V=VTM<'AP+3,N9&EF9_at_#M/&U3VTB3G^-?,<M6.`O)QI)Q
M`#O.)B'`4D](J,!3RUV6HH0UQBIDR2?)_at_)\L__VZ>V:DD2R_D&.OZNJ.[&)+
MT]TSW=/3;S.#YP^'K#&-V?#^8=QPFJWFCKU]!-^;Z7_at_2L&WXO5W95&LT&M5(
MK\ZG(3OB-\S>8_9.U]GM._at_ZS]_??U$S37$+QU1_<8Z=NS)P6LSM=N]5MO1%X
M[]^SANVT+;O#3/QLV^S]^QIC6^S!3T?1-&4NNXEBC\=->GLR9+-HRKPH_+>4
M31/.DI$[`>(/?NA%#XP_ICQ,_"BT"&S_at_AHP#'1ZSL7O'\5W,B$X!+6'3T..#
M*'93[EDLBEG_at_WW,:0=8]<T./W;B#.R^.)LR-(T"I-8"2&P2";HED/1H$T>#.
M8H]\QA.C9JX/2ZSJ[(91/`;<&7'LEGBN$Q*.6E`Q!.]C_W8$TDN$,#GT/(C&
M$S__at_+!WY22XIYH.P$C\<8`-G8SZ.XAG`)BD#,"`3^M`W0!$APAVX,(SZQ:@L
M?7B*X2GP;Q)X!3W><!9$K_at_?OW'#VX,Z,IN2()"<F<1EO_at_I.1"Y.11_at_RFR/<X
M&P*G*,2$!T.2Z_at_O0:2(A]3]K?#H[N3S]<';]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"TJI_[6//0=U$GZWQ0G!)W;FAD<QQ+(_at_"R5^M`.H53C]'#>>?I`5U!-7BZV9
MN>HU5*LJ+=3KEF!P6'Y"E()[,DIK]:5&G*3Q=)`R&6-(71.UU\Q0*U^/)F[N
M(GM/YU]0*Q#33OY.09OEW88B'3P]5WE"KL9*XSRG>3L)AU$-;X;)O\FR3W6M
MSJXR'8R=SHXB&+701?R*)?E7X#KQ8+,DAL5GM*#R+X+0]1#:.L[QR=A(;%&M
M1P0RL^!PT8T+\#6G]_B`Z56G7O$.$%`'_at_%0Z]<(^2K+_at_KC_`X_T;(`4^.\.G
M.P98Q!$>8AS=<\HW(4/!6$0,&4!_][-[:.7[2((68F?I>?ZW4V+"TNED5]:>
M12<A+*1#T[BW9^V!!W!LRW:T\\,'TSB&U.\3!VTLT\;D="#:(5-+[M)HH_at_[4
MB-$1`1ED'46#:=(K$L_at_BP"$VYJ=Z5.T9;VGHYY#0D'/(=(NE9;MUU1/T?+S+
M,J42!0'!Z)(4$A4J3:MS"?G?=2!T];JTEHM'GK&+[/29L`**2,BYAYD/\^BP
M^78&)DQ0=FH;6^MY$=W01%0^[M')CU<7CW1TKKX[K5+CK-Q(L[F_)_QY)R\V
M(T;IV$N)7NFL2V6K5IU4[<^H#A<W23*)L3E[Q(IU.R'_\_at_I$EY";)*R1_A<3
'S.*CRDH``.FL
`
end

--
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 Wed Mar 20 1996 - 22:51:37 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST