Re: FVWM: FixedSize style

From: Marcus Lundblad <ml_at_update.uu.se>
Date: Tue, 5 Feb 2002 01:56:46 +0100 (CET)

On Sat, 2 Feb 2002, Mikhael Goikhman wrote:

> On 01 Feb 2002 19:19:55 +0100, Marcus Lundblad wrote:
> >
> > I have this line for my pager:
> >
> > Style "FvwmPager" Sticky, NoTitle, FixedSize, NoHandles, BorderWidth 7
> >
> > but still it's possible to resize the window.
>
> I can't reproduce this with the current cvs.
> FixedSize/VariableSize work fine for me. With FvwmPager too.
>
> Do you swallow FvwmPager in FvwmButtons (as I do) by a chance?

Another thing that might have an impact is the fact that I use:
Style * MWMHints

Could this possible affect?

>
> > The resize operations are defined as:
> >
> > # the "L" bars
> > Mouse 1 F A Resize-or-Raise
> > # the title bar
> > Mouse 1 T A Move-or-Raise-Maximize
> > # the rest of the frame
> > Mouse 1 S A Resize-or-Raise
> >
> > and:
> >
> > AddToFunc Resize-or-Raise
> > + "I" Raise
> > + "M" Resize
> >
> >
> > have I missed something. Is it because Resize is done via a function in
> > this case?
>
> No, this does not matter. Resize is either allowed for a window or not.
>
> > I'm using snapshot 20020114
> >
> > And is it possible to redefine the mousebinding for this particular window
> > so that the frame can be used for moving the window?
>
> Yes, it is possible. Modify your function to be like this:
>
> AddToFunc Resize-or-Raise
> + C Raise
> + M WindowId $w (FvwmPager) Move
> + M WindowId $w (!FvwmPager) Resize
>
> Regards,
> Mikhael.
>

--
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 Feb 04 2002 - 18:58:08 GMT

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