On Thu, Jul 22, 1999 at 03:28:58PM +0100, Neil Bird wrote:
> Dominik Vogt wrote:
> > > AddButtonStyle 2 - MWMDecorMaximize
> > >
> > > ... similar to the example in the man page for MWMDecorShade, is thrown
> > > out by fvwm. The single '-' looks a bit dubious to me.
> >
> > It may look suspicious, but it works. I use this line:
> >
> > ButtonStyle 6 - MWMDecormaximize
> >
> > or
> >
> > ButtonStyle 6 - MWMDecorShade
>
> fvwm2.3.6/snap19990716:
>
>
> + "I" AddToDecor $0 AddButtonStyle 2 - MWMDecorMaximize
>
> >> [FVWM][ReadButtonFace]: <<ERROR>> unknown style -: - MWMDecormaximize
>
> or
>
> >> [FVWM][ReadButtonFace]: <<ERROR>> unknown style -: - MWMDecorMaximize
>
>
> Hmm. Let me try just ButtonStyle ... Ah-ha! It likes that now. So why
> only ButtonStyle, and what's with the "-" syntax?
>
>
> But I still can't make it do what I think it ought to:
>
> Dominik Vogt wrote:
> > On Wed, Jul 21, 1999 at 09:57:41AM +0100, Neil Bird wrote:
> > > Even if I get this in, is it actually going to do what I think?
> >
> > I don't know. What *do* you think. It causes the vector to be drawn
> > inverted when the window is maximized.
>
>
> Well, I've got:
>
> + "I" AddToDecor $0 AddButtonStyle 1 Pixmap FNX-window-control.xpm
> + "I" AddToDecor $0 AddButtonStyle 2 \
> Pixmap FNX-window-maximise-on.xpm \
> ToggledActiveUp (Pixmap FNX-window-maximise-on.xpm) \
> ToggledActiveDown (Pixmap FNX-window-maximise-off.xpm)
> + "I" AddToDecor $0 ButtonStyle 2 - MWMDecorMaximize
>
> with:
>
> Mouse 0 2 A Maximize-Func
>
>
> I'd expect ...-on.xpm normally, then ...-off.xpm if maximised. No? I
> actully get the ...-on.xpm all the time.
Yup, it's rather confusing. ToggledActiveUp/Down refers to a button
on the active window that if 'up' (i.e. not pressed with a mouse button)
or 'down' (i.e. pressed with mouse button held). I don't think what you
want is possible right now. I'd love to throw away the ButtonStyle,
BorderStyle and TitleStyle syntax completely and rewrite it from scratch.
It's *horrible* and even the most expert fvwm cracks are unable to
make it work.
Bye
Dominik ^_^
--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Jul 26 1999 - 19:24:23 BST