Re: FVWM: Click in a window raises, move marks, can I?

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sat, 19 Jan 2002 22:38:24 +0100

On Fri, Jan 18, 2002 at 11:20:39AM +0200, Anssi Saari wrote:
> On Tue, Jan 15, 2002 at 04:03:41PM +0100, Dominik Vogt wrote:
> > On Tue, Jan 15, 2002 at 04:23:10PM +0200, Anssi Saari wrote:
> > >
> > > Hi,
> > >
> > > The one window-related thing in fvwm I haven't been able to config to
> > > my satisfaction is as follows: I use SloppyFocus and want a click inside
> > > a window to raise it, which is easy. However, I also want to be able to
> > > mark text in a window which is not on top without it raising to the top.
> > >
> > > Is there any way of doing this in fvwm?
> >
> > I don't think so. When fvwm notices that you actually moved the
> > mouse it's already too late.
>
> Hm, disappointing. Not "try CVS now" or "here's some pointers on how to
> implement it"?-)

It's a very difficult thing to do. One one hand, fvwm needs to
process the pointer events to decide if the click was meant for
the application or for fvwm. But when it receives the first
motion exent, the X server has already forgotten about the initial
click and the application will never get it. This works fine with
rxvt, but xterm and xemacs need the click to mark a region. Also,
since the click is lost for the application, a simple click is no
longer handled by the application, i.e. if you click on a button
or menu in the application it is raised, but the click does not
work on the button or menu.

[hours later]

Success! :-D

I found a way to implement this. Try

  Style * MouseFocusClickIgnoreMotion

I don't recommend to use this feature in conjunction with mouse
bindings on the client part of the windows ('W' context). This
will probably fail utterly.

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 Jan 19 2002 - 15:32:09 GMT

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