summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Camuffo <giuliocamuffo@gmail.com>2013-04-03 14:37:00 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-04-03 08:48:31 -0400
commit319b91b97a2d5db40eb182554e343d120d2d0d40 (patch)
tree9905f1b23313d3f328a0b71953f5d8cab919867c
parente14560e38161fa48d88b81d66fc1fcea43a5007c (diff)
window: don't execute the selected menu item when getting popup_done
-rw-r--r--clients/window.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/clients/window.c b/clients/window.c
index 170a6c8e..073ce533 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);
}