window: Send serial number in set_popup request
diff --git a/clients/window.c b/clients/window.c
index ad0b710..08f510f 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -2391,8 +2391,8 @@
 	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);