]> Dogcows Code - chaz/openbox/commitdiff
add a comment
authorDana Jansens <danakj@orodu.net>
Sun, 13 May 2007 02:35:42 +0000 (02:35 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 13 May 2007 02:35:42 +0000 (02:35 +0000)
openbox/menuframe.c

index a42c138da1bca9722d907f07a5a8b959ccef27f2..c6dd02fa3d8ec5a9e9ac21bfdab645207bbd6cc4 100644 (file)
@@ -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)) {
This page took 0.031953 seconds and 4 git commands to generate.