Re: FVWM: questions about fvwm-snap-19990716

From: Dominik Vogt <dominik.vogt_at_fvwm.org>
Date: Fri, 6 Aug 1999 05:59:41 +0200

On Thu, Aug 05, 1999 at 11:14:01AM -0500, pauljohn_at_ukans.edu wrote:
> Dominik Vogt wrote:
> >
>
> > With current development code I have no problem to make this work.
> > I use this binding:
> >
> > mouse 1 w m move
> >
> > As soon as I release the button the move operation starts, regardless
> > of the state of the meta key. Can you check this with a current snapshot?
>
> That is what I am calling the problem. In 2.2.2, the move operation
> begins with the click, not the release of the meta key. What you
> describe is a new behavior. I could probably get used to it, but I don't
> like it because it is not consistent with the Window Maker behavior I'm
> trying to immitate. Also, the meta key behavior is not consistent
> across actions within fvwm2. For example, to resize I use
> meta-rightclick. With that one, the meta key can be held down while
> resizing. Here are the key bindings I use
>
> Mouse 1 A M Move
> Mouse 3 A M Resize

Somehow a fix I made last year has disappeared again. I have fixed it
in the development tree, but this fix won't apply to the 2.2.2 sources.
If you have the sources you can make this patch:

In the file fvwm/add_window.c you'll find this passage:

  #if 0
            XGrabButton(dpy,(i),0,tmp_win->frame,True,
                        ButtonPressMask, GrabModeSync,GrabModeAsync,None,
                        Scr.FvwmCursors[SYS]);
            XGrabButton(dpy,(i),LockMask,tmp_win->frame,True,
                        ButtonPressMask, GrabModeSync,GrabModeAsync,None,
                        Scr.FvwmCursors[SYS]);
  #else

Replace the '#if 0' with '#if 1' and your problem should be solved.
I am not sure why this fix has been commented out again, but in the
ChangeLog there is the following entry:

        * fvwm/add_window.c (AddWindow): backed out a patch that caused a mouse
        binding problem

I guess this causes a problem somewhere else, so I won't make
any guarantees.

Bye

Dominik ^_^

-- 
Dominik Vogt, Hewlett-Packard GmbH, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/14-4596, fax: 07031/14-3883, dominik_vogt_at_hp.com
--
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 Aug 05 1999 - 23:00:09 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST