From 18c2737a2fb3b3c85623dae5d2265d3a97c347e8 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 13 May 2007 02:35:42 +0000 Subject: [PATCH] add a comment --- openbox/menuframe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbox/menuframe.c b/openbox/menuframe.c index a42c138d..c6dd02fa 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -911,6 +911,9 @@ static gboolean menu_frame_show(ObMenuFrame *self) if (menu_frame_visible == NULL) { /* 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)) return FALSE; if (!grab_keyboard(TRUE)) { -- 2.39.2