Hi,

I'm generating some pmenu-type menu entries automatically from window 
titles so it appears when I click on the title bar. Ion appears to put 
pmenus so the middle of the menu horizontally lies below the mouse 
pointer.

Unfortunately I've got a couple of applications that generate long titles,
with the result that sometimes even if I try and click on the far edge of
a frame the left hand side of the menu goes off the left hand side of the
screen and I can't see the shorter titles. (Going off right side of screen
isn't really a problem because text bunches on the left so remains
visible.) 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? (I've grepped the pmenu code but
didn't really follow what was going on.)

Many 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