diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-13 02:35:42 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-13 02:35:42 +0000 |
| commit | 18c2737a2fb3b3c85623dae5d2265d3a97c347e8 (patch) | |
| tree | c30946cded3322a250b9f2d5fab36b259a14fc2a /openbox | |
| parent | d59f0d67b0a6f3a7eed2753875691e78c08c632c (diff) | |
add a comment
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/menuframe.c | 3 |
1 files changed, 3 insertions, 0 deletions
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)) { |
