[PATCH weston] window: don't execute the selected menu item when getting popup_done

Giulio Camuffo giuliocamuffo at gmail.com
Wed Apr 3 05:37:00 PDT 2013


---
 clients/window.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/clients/window.c b/clients/window.c
index 170a6c8..073ce53 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -3312,7 +3312,6 @@ handle_popup_done(void *data, struct wl_shell_surface *shell_surface)
 	 * be a window vfunc that the menu can set.  And we need the
 	 * time. */
 
-	menu->func(window->parent, menu->current, window->parent->user_data);
 	input_ungrab(menu->input);
 	menu_destroy(menu);
 }
-- 
1.8.2



More information about the wayland-devel mailing list