Re: FVWM: window resize in 2.5.7

From: Ben Winslow <rain_at_bluecherry.net>
Date: 23 Jul 2003 04:13:33 -0400

On Wed, 2003-07-23 at 03:55, Jules Alberts wrote:
> Hello everyone,
>
> I just did an upgrade from 2.4 to 2.5.7 and now I have some strange
> window resize behaviour. When I place the mousecursor on the border of
> any window and drag, nothing happens. When i release the button, I can
> resize until I click again. The same happens with a single click o a
> border, I can resize until I click again.
>
> My rc's haven't changed when I did the upgrade, is this normal 2.5
> behaviour? How can I get back to a "normal" window resizing? Thanks!
> --
> 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.

What you're probably seeing is the result of a bugfix (i.e. the old way
isn't supposed to have worked, but it did, and it seems that it's been
widely used.)

On Mon, 2003-03-17 at 05:01, Dominik Vogt wrote:
> I see, this change is not going to make me happy.
>
> BEGIN THEORY
>
> For some reason, a more or less random number of commands worked
> on button press while other commands worked on button release.
> The first type did not work when invoked outside a window context,
> for example on the root window:
>
> mouse 3 a sc move
>
> just flashed the selection cursor, selected the root window and
> beeped. The right way to have move-on-press is
>
> AddToFunc move_on_press
> + I Move
> mouse 1 W 3 function move_on_press
>
> In the future, I would like to remove the difference between both
> types of commands.
>
> END THEORY
>
> So much for the theory. Unfortunately, many people rely on the
> old, broken behaviour. It should be relatively easy to write a
> script that changes your config, though.

So basically, the fix is to put your move command into a function, and
then call the function. For the chronically lazy or those who aren't
terribly familiar with their fvwm configuration, I made a script a while
back to do the conversion; it's available at
http://themuffin.net/fvwm-mousecmd-convert.awk It should, at least,
make the required changes obvious so that you can do it yourself if you
prefer.

-- 
Ben Winslow <rain_at_bluecherry.net>



--
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 Jul 23 2003 - 03:15:18 BST

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