On Wed, Dec 11, 2002 at 01:17:42PM +0100, Dominik Vogt wrote: > On Tue, Dec 10, 2002 at 08:22:16PM -0800, [EMAIL PROTECTED] wrote: > > On Tue, Dec 10, 2002 at 11:05:00AM -0800, [EMAIL PROTECTED] wrote: > > > > > for the Direction command, I'll go ahead and add it to the core man > > > > > page. > > > > > Any objections? > > > > > > > > I still think it should be moved into a separate command and take > > > > two directions as the argument (like IconBox). One major > > > > direction and a minor direction which must be orthogonal to the > > > > first one. For example: > > > > > > > > ScanWindows North West > > > > > > > > This means "Scan windows from North to South. Of all windows that > > > > are closest in the primary direction, pick windows from left to > > > > right." > > > > > > Or I guess we could just turn CMD_Direction into a regular function > > > and route CMD_Direction and CMD_ScanWindows into it. > > > > I don't like how there are 8 possible secondary directions, but only > > > 2 are valid. Maybe right/left turns, like 'ScanWindows East Right'. > > > That would mean the z-axis points into the screen. > > That would be confusing since Left and Right are synonyms for West > and East. I'd prefer to parse the direction as usual and complain > if the secondary direction is not orthogonal to the primary. And > it is consistent with the semantics of the IconBox style.
Ah, precedence. Ok, fixed. Key -Meta_L A A SendToModule FvwmProxy Hide Key Tab A M SendToModule FvwmProxy Circulate \ ScanWindow East South (CurrentPage !Sticky) Key Tab A SM SendToModule FvwmProxy Circulate \ ScanWindow West North (CurrentPage !Sticky) > > Ok, done. Here's the working example: > > > > Key -Meta_L A A SendToModule FvwmProxy Hide > > Key Tab A M SendToModule FvwmProxy Circulate \ > > ScanWindows East Right (CurrentPage !Sticky) > > > > Key Tab A SM SendToModule FvwmProxy Circulate \ > > ScanWindows West Right (CurrentPage !Sticky) > > > > If this ok, I go ahead and add ScanWindows to the core man page. > > > > By "closest in the primary direction", did you mean anything other > > than "exactly the same", such as "within some delta"? Cause I didn't > > do that. > > When the distance is != 0 it is obvious what to do. But when a > window with distance is found, the distance in the secondary > direction is used. In other words, with "North West", the closest > window to the right of the current one is take. Ok, but what you're not saying and what I'm not doing, is that if the distance along the primary is, say, 1, that it says "that's pretty close", and balances it with the cross axis (sorta like what Direction does). Ok, back to the man pages. Also, I went with ScanWindow (singular) to be more like ThisWindow. A commit is on its way real soon. -- _ ( \ _ \ /_ / _ _ Jason Weber (503) 380-7424 \|(\/)())) \/\/(-/_)(-/( Infinite Monkeys Inc. Aloha, Oregon // http://www.imonk.com/baboon [EMAIL PROTECTED] (/ [EMAIL PROTECTED] [EMAIL PROTECTED] "Canister contains at least 50% recycled material; 15% post-consumer content." -- Pringles Fat-Free (side of can) -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]