window: Send serial number in set_popup request
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 13 Apr 2012 16:37:19 +0000 (12:37 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 13 Apr 2012 16:37:19 +0000 (12:37 -0400)
clients/window.c

index ad0b710..08f510f 100644 (file)
@@ -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);