On Wed, 2008-01-30 at 10:54 +0100, Alexander Larsson wrote:
> Menus are popped up with gtk_menu_popup() which takes a callback
> function that lets the app position the menu wherever it wants. However,
> the default one (that most apps use) puts the menu such that its where
> the mouse pointer is (making sure the whole menu is visible if its near
> a screen edge). However, doing this means the mouse pointer will be over
> the first (or last) menu item and thus it will be selected when you
> release.
For me, the popups are a few pixels away from the pointer. I've just
checked this in Nautilus, evolution, gnome-terminal, epiphany and
gossip. The popup menu corner is positioned at the cursor, but there is
a few pixels of padding around the menu itself.
Ross
--
Ross Burton mail: ross burtonini com
jabber: ross burtonini com
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
Attachment:
signature.asc
Description: This is a digitally signed message part