On Tue, 25 Jan 2005, Tuomo Valkonen wrote:

> On Tue, Jan 25, 2005 at 10:10:12AM +0000, David Tweed wrote:
> > Is it relatively simple to put a check in the positioning code
> > so if the left hand edge of a pmenu goes off the screen menu position is
> > shifted enough so it comes back on? 
> 
> It should be possible, but I don't like such unpredictable placement
> behaviour. What Ion does is scroll the menu visible when you move the
> pointer to a side of the menu that extends beyound screen boundaries.

Fair enough: I hadn't actually noticed that moving the pointer did this.
is there a config setting like scroll speed that I can set so that any
slight mouse movement leads to the menu moving `instantaneously' into
view? (On my machine a very long title generated by mozilla or kghostview
can require 1-2 seconds of relatively slow scrolling before the menu is
fully in view.)

Alternatively, I'm happy to keep a private patch to clip the window 
placement, but I couldn't figure out where in the code the top left (?) 
corner menu position gets computed?

Thanks for any insight,

-- 
__cheers, dave____________________________________________
homepages.inf.ed.ac.uk/dtweed/       tel: +44 131 651 3447
JCMB, Kings Buildings, Edinburgh     fax: +44 131 651 3435
X wrote a book about this, which Y was carrying around for
a long time with little discernible effect -- John Baez


Reply via email to