Ola
I wrote about this I while ago, but didn't get any response. Decided to
give it another shot (at the start of the month, for a change)...
I move windows around with key bindings; to tell the truth most of my
fvwm configuration is keyboard-based. The problem is that, sure, it's
easy to move windows to specific positions, but what I really need is
something that will snap the window to the closest intervening window
border (almost comparable to the "grow" option of the resize functions).
I hacked up a simple solution -- please note, it's a HACK, so it's not
guaranteed to take into account anybody else's preferences. For
example, I've hardcoded it to do animated moves, which really should be
a distinct parameter. The fvwm2rc syntax is also a bit dodgy, but for a
proof-of-concept patch it works admirably (after all, I use it every
day).
To use: apply the patch (against fvwm-2.5.12), add the following lines
to your .fvwm2rc ...
Key Up WSF C SnapMove North
Key Left WSF C SnapMove West
Key Down WSF C SnapMove South
Key Right WSF C SnapMove East
... and happily move windows around with Ctrl-Cursor. Good idea/bad
idea -- let me know please.
Cheers
--
Kobus Retief
--
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 Wed Feb 02 2005 - 13:55:36 GMT