Re: FVWM: overriding EdgeScroll/EdgeResistance

From: Mikhael Goikhman <migo_at_cortext.co.il>
Date: Thu, 13 Jul 2000 22:19:59 +0300

On 13 Jul 2000 13:34:29 -0500, greg shebert wrote:
>
> under normal circumstances i do not want my users to be able to drag
> windows off of the screen... i also do not want them to be able to page
> around via dragging the mouse
>
> therefore i have put
> EdgeScroll 0 0
> EdgeResistance 10000 10000
> EdgeThickness 0
>
> into my fvwmrc file...
>
> what i would like to see happen is, if the user presses the alt key and
> then drags a window, that they then be able to drag it partially off of
> the screen (basically an unconstrained move)

Well, UnconstrainedMove command is something that I always wanted,
it should be able to ignore SnapAttraction, EdgeResistance and more.
Maybe this command can be added after 2.4.

> is there a way to temporarily override those values when moving the
> window with alt pressed?

For now, you can use your hard-coded version of UnconstrainedMove:


DestroyFunc UnconstrainedMove
AddToFunc UnconstrainedMove
+ I EdgeResistance 0 0
+ I SnapAttraction -1 All
+ I Move
# restore your default behaviour foe Move here
+ I EdgeResistance 10000 10000
+ I SnapAttraction 10 Windows

Mouse 2 TSF S UnconstrainedMove


> thanks for any help
> -greg-

Regards,
Mikhael.
--
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 Jul 13 2000 - 14:21:21 BST

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