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:
committed by
Pekka Paalanen
parent
66bc949b72
commit
ecf2a0f1ca
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user