FVWM: bug in fvwm_button_pxp8.diff ?

From: Patrice Fortier <Patrice.Fortier_at_emi.u-bordeaux.fr>
Date: Fri, 31 May 1996 15:40:15 +0200 (MET DST)

        I have a strange problem using the fvwm_button_pxp8.* patch.
I use a pixmap in the 1st left button:
ButtonStyle 1 Pixmap xfoo.xpm

xfoo.xpm is 22x14 pixels and the button size is 19x18 pixels (without
the 3d borders). So the pixmap is larger than the button.

  My request trashes the left 3d border drawing.
I've included a small xpm to show the result, as my english isn't very
good :)

  As I really wanted this xpm to fit in the buttonbox, I cropped it
to 20x14 (the xpm was still larger than the button), and everything
worked perfectly.

  I don't know if it's a bug, or if I shouldn't display a pixmap
larger than a titlebar button, but if someone can tell it to me :)



---------------------cut here--------------------------

/* XPM */
static char *fvwm-bug[] = {
/* width height num_colors chars_per_pixel */
" 26 24 10 1",
/* colors */
". c #000000",
"# c #305060",
"a c #3060a0",
"b c #60a0c0",
"c c #808080",
"d c #88e0f8",
"e c #909090",
"f c #a0a0a0",
"g c #f0f0f0",
"h c #f8ece8",
/* pixels */
"bbbbbbbbbbbbbbbbbbbbbb#dbb",
"b#########################",
"b#dddddddddddddddddddd#ddd",
"b#dbbbbbbbbbbbbbbbbbbb#dbb",
"b#dbbbbbbbbbbbbbbbbbbb#dbb",
"b#ffffgggggggggggaeeee#dbb",
"b#ffffgaaaaaaaaaf.eeee#dbb",
"b#fefegagca....af.eeec#dbb",
"b#efffgac......af.eeee#dbb",
"b#fefegaa......af.ecee#dbb",
"b#efefga.......af.eeee#dbb",
"b#eeeega.......af.ccec#dbb",
"b#efeefffffffffff.cece#dbb",
"b#feeea...........ccec#dbb",
"b#eegggggggggggggggfce#dbb",
"b#eegffffffffffffffacc#dbb",
"b#eegcccacaca...acf.cc#dbb",
"b#eefffffffffffffcc.cc#dbb",
"b#ee................cc#dbb",
"b#bbbbbbbbbbbbbbbbbbbb#dbb",
"b#bbbbbbbbbbbbbbbbbbbb#dbb",
"b#d####################d##",
"##########################",
"d#hhhhhhhhhhhhhhhhhhhhhhhh"
};

---------------------cut here--------------------------


Lokh.
--
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 Fri May 31 1996 - 08:42:56 BST

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