On Sat, Jul 03, 2004 at 09:56:48AM +0700, Ruslan Kosolapov wrote: > A most important thing in this metaphor is "focused window should be > in attention locus, i.e. as far as possible in center of a viewport"
I'm not sure what you mean by "attention locus", but if you mean you want to centre the viewport on a window how about this: DestroyFunc CenterViewportOnWindow AddToFunc CenterViewportOnWindow + I FlipFocus + I WarpToWindow 50 50 + I PipeRead "echo Scroll $$((((-$[vp.width]/2)+$[pointer.x])))p $$(((-($[vp.height]/2)+$[pointer.y])))p Then, for example, bind something to Next CenterViewportOnWindow > I asked here about placement windows on whole multipaged desk, not on > current page only. OK, now I can't do it by fvwm. Well you can, the StartsOnPage/SkipMapping solution sounded okay to me? > Question number two: I report a bug (in my opinion it is a bug) about > wrong behavior of WarpToWindow function. Shortly: this function > resets a viewport like GoToPage do it. Can I to do something with it? > Is there a workaround? I can't find a simple solution (I plan to use > CursorMove or something like it, but it is not a good solution). > I Think using CursorMove is a good solution, you could add some CursorMove to the function above to get pretty close to this behaviour! -- ------------------------------------- [EMAIL PROTECTED] | finger me for my gpg key. ------------------------------------------------------- -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
