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. I used to do this with a line in
Maximise-Func that did a different UseDecor according to whether the
window was currently already maximised or not, meaning keeping two
identical decors, with one button diff. between them. I thought this would
do the same thing in a neater fashion.
--
========================- http://www.rdel.co.uk/ -======================
Neil Bird | This is who we are The time is near
|
mailto:neil.bird_at_rdel.co.uk | There are 163 days remaining
--
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 Thu Jul 22 1999 - 09:29:37 BST