KONTRA Gergely <kgergely_at_mlabdial.hit.bme.hu> writes:
>
> If there's animated move, that do fvwm users have animated resize?
> Anyway. How to resize a window relatively to current size?
> Eg how to grow the window by 10 percent of window/screen?
I use the following:
Key KP_Next A S4 ResizeCenter br w+5 w+5
Key KP_Home A S4 ResizeCenter br w-5 w-5
Key KP_Left A S4 ResizeCenter br w-5 keep
Key KP_Right A S4 ResizeCenter br w+5 keep
Key KP_Up A S4 ResizeCenter br keep w-5
Key KP_Down A S4 ResizeCenter br keep w+5
DestroyFunc CenterWindow
AddToFunc CenterWindow
+ I ThisWindow Piperead "echo Move \
$(( $[vp.width]/2-$[w.width]/2 ))p \
$(( $[vp.height]/2-$[w.height]/2 ))p"
DestroyFunc ResizeCenter
AddToFunc ResizeCenter
+ "I" Resize $0 $1 $2
+ "I" CenterWindow
BTW: What is a animated resize?
Mario
--
Windows NT crashed.
I am the Blue Screen of Death.
No one hears your screams.
--
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 Sep 16 2003 - 12:00:39 BST