FVWM: ALT+Mouse1 comfortable resize

From: Gert Brinkmann <g111_at_netcologne.de>
Date: Tue, 24 Jun 2003 10:24:33 +0200

Hello,

because one thing that I am missing in fvwm is the functionality to
resize a window by pressing ALT and clicking somewhere inside the window
(e.g. KDE, windowmaker, icewm do have this feature) I am thinking about
an implementation for this:

There might be 2 possibilities to implement this feature:

1) in the source of fvwm (this seems to be very complicated if you did
not work in the fvwm-source yet)

2) by using a configuration function in .fvwmrc. Something like this:

AddToFunc MyResize
# Find the nearest edge or corner of the current window
# warp the mouse to this edge or corner
# resize
# when finished, warp back the mouse cursor to the inital position
(maybe moved by the delta-value that you have moved the mouse while
resizing)

Is this possible? (I am using the CVS version of fvwm currently). Does
somebody have an idea how to implement this, e.g. how to store the
initial mouse coordinates? At the moment I could only implement point 3
of the pseudo code: "resize" ;)

Thanks,

Gert


--
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 Tue Jun 24 2003 - 03:22:44 BST

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