From: Dana Jansens Date: Sun, 13 May 2007 02:35:42 +0000 (+0000) Subject: add a comment X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=18c2737a2fb3b3c85623dae5d2265d3a97c347e8;p=chaz%2Fopenbox add a comment --- 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)) {