add a comment

This commit is contained in:
Dana Jansens 2007-05-13 02:35:42 +00:00
parent d59f0d67b0
commit 18c2737a2f

View file

@ -911,6 +911,9 @@ static gboolean menu_frame_show(ObMenuFrame *self)
if (menu_frame_visible == NULL) { if (menu_frame_visible == NULL) {
/* no menus shown yet */ /* no menus shown yet */
/* grab the pointer in such a way as to pass through "owner events"
so that we can get enter/leave notifies in the menu. */
if (!grab_pointer(TRUE, TRUE, OB_CURSOR_POINTER)) if (!grab_pointer(TRUE, TRUE, OB_CURSOR_POINTER))
return FALSE; return FALSE;
if (!grab_keyboard(TRUE)) { if (!grab_keyboard(TRUE)) {