Re: FVWM: NearestEdgeResizing

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Mon, 3 May 2004 10:15:39 +0000

On 03 May 2004 11:03:34 +0200, Gert Brinkmann wrote:
>
> Mikhael Goikhman wrote:
>
> > I hope you understand that "H" means holding the mouse as opposed to "C",
> > "M", "D" and "I", it is activated after ClickTime milliseconds.
>
> I always thought "I" means "immediately" after mouse press (the man page
> says "is executed as soon as the function is invoked". This seems not to
> be true, is it?).

"I" does work immediately.

I just played with it a bit and my previous explanation was not fully
correct. It is not Resize that requires mouse release with "I", but a
combination of PipeRead printing WarpToWindow. This currently only
supports dragging with "M" and "H", but not with "I".

Here are 3 examples doing the same thing, to demonstrate the problem:

  Mouse 3 WTSF M MyResize

  DestroyFunc MyResize
  AddToFunc MyResize
  + I WarpToWindow 100 100
  + I Resize

This first example works like you want. But the following second example
requires mouse release (and then Resize requires mouse click, since we
are not dragging anymore):

  DestroyFunc MyResize
  AddToFunc MyResize
  + I PipeRead `echo WarpToWindow 100 100`
  + I Resize

Seems like a bug, because the following works without additional mouse
release and click:

  DestroyFunc MyResize
  AddToFunc MyResize
  + I PipeRead `echo Echo just to have some command executed`
  + I WarpToWindow 100 100
  + I Resize

I think this should be fixed, but let's wait for the Dominik's reply.

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 Mon May 03 2004 - 05:18:06 BST

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