On 01 May 2004 22:46:21 +0200, Gert Brinkmann wrote:
>
> >A small side note. I would divide the window into 9 squares and not 4,
>
> Yes, you are right. I have planned to do this, but did not enhance the
> script yet, because the whole behaviour was very useless for me... until
> now.
>
> Thank you very much for your hints. They are working great. Now I can
> start using fvwm for real ;)
>
> >Replace all "I" with "H":
>
> I have read this part of the man page several times. But did not
> understand the resulting behaviour for H instead of I.
I hope you understand that "H" means holding the mouse as opposed to "C",
"M", "D" and "I", it is activated after ClickTime milliseconds.
Now, Resize operation is normally started by a mouse press. Exception is
"M" and "H", then Resize does not require an initial press, sinse we are
in the dragging mode already. This is from my experience only, it is
possible there are additional nuances (2.4.x may be different here).
> >Then it works like you want with a small click-time delay, about 0.15
> >seconds. You may like this delay, otherwise add one more wrapper function:
>
> No, I do not like the delay, so I am using the following wrapper
> function. (hmm, as I am writing this mail I ask myself if it is possible
> to include the clicktime-lines in MyResize without another wrapper
> function? I will test this)
Don't do this. This ClickTime affects the whole function execution,
so changing it in the same function may work if it is done using "I",
but it may as well fail or work strangely. The actual behaviour is not
defined well and may stop working in the future. Use a wrapper function.
> What do you think of my solution conceptionally? Is this the right way
> to solve this or are there better ways?
The "better" way is to patch move_resize.c to allow another resize option.
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 Sat May 01 2004 - 16:12:50 BST