Hi, all!
I'm a keyboard freak and want to MOVE and RESIZE my windows using
appropriate key bindings. Moving windows works (more or less, maybe
I'll mail about it later), but I cannot get resizing windows using
the keyboard to work.
What I used is
Key j A SCM Function ResizeWinLeftFunc $w
and
DestroyFunc ResizeWinLeftFunc
AddToFunc ResizeWinLeftFunc
+ I WindowId $0 Resize $[w.width]-10 keep
I'm not that familiar with "programming" in fvwm, but as far
as I can see, fvwm does not evaluate "$[w.width]-10" properly,
when I do
+ I WindowId $0 Echo "WIDTH: "$[w.width]-10
instead, I get something like
WIDTH: 503-10
on stdout/stderr. I haven't found anything that seems like
it could calculate expressions. Am I blind? The only way
of "calculation" seems to be function specific, e.g. the
Syntax
Move w+5 50
Who can help?
Best regards
Marc-Jano
P.S.: fvwm2 is not really perfect, but so far the best window
manager I found - using fvwm/fvwm2 since 1993 or so!
--
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 Dec 03 2001 - 06:58:04 GMT