]> Dogcows Code - chaz/openbox/blobdiff - openbox/menuframe.c
fix directional focus
[chaz/openbox] / 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.025442 seconds and 4 git commands to generate.