diff --git a/clients/window.c b/clients/window.c index ad0b7104..08f510f8 100644 --- a/clients/window.c +++ b/clients/window.c @@ -2391,8 +2391,8 @@ window_show_menu(struct display *display, window->x = x; window->y = y; - wl_shell_surface_set_popup(window->shell_surface, - input->input_device, time, + wl_shell_surface_set_popup(window->shell_surface, input->input_device, + display_get_serial(window->display), window->parent->shell_surface, window->x, window->y, 0);