]> Dogcows Code - chaz/openbox/commitdiff
highlight for motion events in the menu too, this is useful when the enter gets ignor...
authorDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 03:18:55 +0000 (03:18 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 03:18:55 +0000 (03:18 +0000)
openbox/event.c

index ced93e04c7c44e9c515722b287d01855885867b7..67afabc994a6d222895625d3569c3c04f270c86b 100644 (file)
@@ -1300,6 +1300,11 @@ static void event_handle_menu(XEvent *ev)
         {
             menu_frame_select(e->frame, NULL);
         }
+    case MotionNotify:   
+        if ((e = menu_entry_frame_under(ev->xmotion.x_root,   
+                                        ev->xmotion.y_root)))
+            menu_frame_select(e->frame, e);   
+        break;
     case KeyPress:
         if (ev->xkey.keycode == ob_keycode(OB_KEY_ESCAPE))
             menu_frame_hide_all();
This page took 0.026426 seconds and 4 git commands to generate.