summaryrefslogtreecommitdiff
path: root/clients/window.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-04-13 12:37:19 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-04-13 12:37:19 -0400
commitf2eb68a921896131de4150d9da67de7c0e48cacc (patch)
tree6e5ec401a2a570b315688f44fb81d3a4b067e55b /clients/window.c
parent84b76c72c8afed48dacf4216483cb911913e779a (diff)
window: Send serial number in set_popup request
Diffstat (limited to 'clients/window.c')
-rw-r--r--clients/window.c4
1 files changed, 2 insertions, 2 deletions
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_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);