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

From: Anssi Saari <as_at_sci.fi>
Date: Wed, 16 Jan 2002 09:13:10 +0200

On Wed, Jan 16, 2002 at 01:26:15AM -0500, Walter Dnes wrote:
> On Tue, Jan 15, 2002 at 04:23:10PM +0200, Anssi Saari wrote
>
> > 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?
>
> Not the way you're trying to do it. When you mark text in a window,
> you are in fact clicking inside the window... see the problem?

Well, fvwm can tell the difference. Marking is not clicking, it's
moving. Consider the titlebar. By default, clicking on it raises
the window, but moving (press and hold button, move mouse) moves the
window. And it's not necessary for the window to raise while it's moved.

So, what I want to do in 'fvwm-speak' is this:

Mouse 1 W A Current [ !Raised ] SomeFuction

and then have SomeFunction like this:

AddToFunc SomeFunction
+ C Raise
+ M Magic

Where the function Magic tells fvwm to let go and give control to the
client. Now that I think about it, FakeClick might be the solution. I'll
have to see. If I just pass a buttonpress to the client and not the
release?

> The way
> around this is to *NOT* have clicks-inside-window raise the window.

Yes, but that's trivial and also what I've been doing. With a Sun
keyboard, it's even pretty good as there's a 'Front' button which can
be used to raise the window. However, with my Linux box at home I have
rather few keys as it's a Happy Hacking Keyboard Lite.
--
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 Wed Jan 16 2002 - 01:12:18 GMT

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