X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fmenuframe.c;h=c6dd02fa3d8ec5a9e9ac21bfdab645207bbd6cc4;hb=49b6e6ac0a10ffbe5c4e48d69494315da0c0351d;hp=a42c138da1bca9722d907f07a5a8b959ccef27f2;hpb=c2e4d42e6d086b60d4ecd9ef2e51ef9ed7575dfc;p=chaz%2Fopenbox 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)) {