]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
don't menu menus jump around at all anymore. open them on screen in the first place
[chaz/openbox] / openbox / event.c
index 7e66cc28ed6318c550bad537d96665a8127e68a6..75cf5d2e6f3471f4ea0e2b59051719285e083568 100644 (file)
@@ -1263,10 +1263,11 @@ static void event_handle_menu(XEvent *ev)
     case MotionNotify:
         if ((f = menu_frame_under(ev->xmotion.x_root,
                                   ev->xmotion.y_root))) {
-            menu_frame_move_on_screen(f);
             if ((e = menu_entry_frame_under(ev->xmotion.x_root,
-                                            ev->xmotion.y_root)))
+                                            ev->xmotion.y_root))) {
+                /* XXX menu_frame_entry_move_on_screen(f); */
                 menu_frame_select(f, e);
+            }
         }
         {
             ObMenuFrame *a;
This page took 0.020424 seconds and 4 git commands to generate.