From 615cbd96075905d75533f9b615c4ee6a75f4f9a4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 28 Aug 2003 05:44:13 +0000 Subject: change the menu plugin interface, no need for the create/destroy functions any more. redo the client-menu plugin to work with the new menu api --- openbox/event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/event.c') diff --git a/openbox/event.c b/openbox/event.c index 6480855e..fc45060c 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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; -- cgit v1.2.3