xdg-shell: Remove the serial from popup_done

It doesn't serve any purpose, as it's a serial that the client gave to
the server when starting the popup, which the client already has.

Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Jasper St. Pierre
2015-02-13 14:01:56 +08:00
committed by Pekka Paalanen
parent 66bc949b72
commit ecf2a0f1ca
3 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -3315,8 +3315,7 @@ shell_surface_send_popup_done(struct shell_surface *shsurf)
if (shell_surface_is_wl_shell_surface(shsurf))
wl_shell_surface_send_popup_done(shsurf->resource);
else if (shell_surface_is_xdg_popup(shsurf))
xdg_popup_send_popup_done(shsurf->resource,
shsurf->popup.serial);
xdg_popup_send_popup_done(shsurf->resource);
}
static void