]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
change the menu plugin interface, no need for the create/destroy functions any more.
[chaz/openbox] / openbox / event.c
index 6480855e7553d7f4959897a3ae87b10297f73a9c..fc45060c45b3366c9a94e284a666c359049246f4 100644 (file)
@@ -1183,8 +1183,8 @@ static void event_handle_menu(XEvent *ev)
         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))
+            if ((e = menu_entry_frame_under(ev->xmotion.x_root,
+                                            ev->xmotion.y_root)))
                 menu_frame_select(f, e);
         }
         break;
This page took 0.020052 seconds and 4 git commands to generate.