From 319b91b97a2d5db40eb182554e343d120d2d0d40 Mon Sep 17 00:00:00 2001 From: Giulio Camuffo Date: Wed, 3 Apr 2013 14:37:00 +0200 Subject: [PATCH] window: don't execute the selected menu item when getting popup_done --- 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); } -- 2.7.4