window: don't execute the selected menu item when getting popup_done

This commit is contained in:
Giulio Camuffo
2013-04-03 14:37:00 +02:00
committed by Kristian Høgsberg
parent e14560e381
commit 319b91b97a
-1
View File
@@ -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 * be a window vfunc that the menu can set. And we need the
* time. */ * time. */
menu->func(window->parent, menu->current, window->parent->user_data);
input_ungrab(menu->input); input_ungrab(menu->input);
menu_destroy(menu); menu_destroy(menu);
} }