Re: FVWM: EdgeResistance and Focus

From: Dan Espen <dane_at_bae.bellcore.com>
Date: Tue, 19 Mar 1996 15:10:27 -0500

----------
Kai Grossjohann <grossjoh_at_charly.informatik.uni-dortmund.de> writes:
> Dear all,
>
> I've followed the development of fvwm rather closely, and finally I've
> switched to using it. Of course, I want fvwm to have all features
> under the sun, but I think the following are not unreasonable:
>
> - When the mouse pointer is warped to a window (with Focus, say), it
> is warped to the upper left hand corner. Is there a way to have
> it warpt to the center instead?
>

My favorite question.

You can't get exactly what you describe, but you can get close:

# Simulate the Warp function from older fvwm
AddToFunc Warp "I" Next [$1] Iconify -1
+ "I" Next [$1] focus
+ "I" CursorMove 2 2
+ "I" None [$1] Beep
+ "I" None [$1] CursorMove -2 -2

Use it like this:

Key f R N Warp "FvwmIconBox" FvwmIconBox

This function moves 2 pixels down and 2 pixels right to get the
pointer fully into the window. It is also possible to write a
function that takes arguments for how far to move. I don't know of a
way to get exactly to the center of any window.

Can't help on your other questions.

> - When I have "EdgeResistance 100 50", say, I cannot move a window
> N<50 pixels off-screen. Olwm allowed one to first move a window
> more than 50 pixels off-screen then move back and thereby N<50
> pixels were possible. Using fvwm, the window snaps back to the
> edge of the screen as soon as it gets to within 50 pixels of the
> edge of the screen.
>
> - Fvwm doesn't understand "-0" in the X-offset or Y-offset fields of
> a geometry specification.
>
> I'll wait for the Great Style Flag Rewrite for per-window AutoRaise
> (and AutoLower, aka FvwmClean).
>
> kai
> --
> ~/.signature
> --
> Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to majordomo_at_hpc.uh.edu.
> To report problems, send mail to fvwm-owner_at_hpc.uh.edu.

--
Dan Espen                                    Phone: (908) 699-5570
dane_at_bae.bellcore.com
444 Hoes Lane  Room RRC 1C-214
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Mar 19 1996 - 14:10:59 GMT

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