Re: FVWM: FixedSize style

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sun, 3 Feb 2002 02:28:23 +0100

On Sat, Feb 02, 2002 at 10:47:28PM +0000, 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?
>
> > 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.

Actually, there was a bug with recognition of complex function
names (ResizeOrRaise didn't count as a "resizing" function). But
that does not play a role here. It's only used in determining if
a menu entry would be greyed or not. I can't reproduce this
problem either, not with current CVS and not with 2.4.5.

> > 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

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 Sat Feb 02 2002 - 19:28:44 GMT

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