wayland: Check the serial when creating popups

Send popup_done immediately if the serial is incorrect so the client can
destroy its resources.

https://bugzilla.gnome.org/show_bug.cgi?id=744452
This commit is contained in:
Jonas Ådahl
2015-02-10 21:11:17 +08:00
parent f328890ed1
commit f5c65d9ea1
3 changed files with 29 additions and 2 deletions

View File

@@ -114,4 +114,7 @@ gboolean meta_wayland_pointer_can_grab_surface (MetaWaylandPointer *pointer,
MetaWaylandSurface *surface,
uint32_t serial);
gboolean meta_wayland_pointer_can_popup (MetaWaylandPointer *pointer,
uint32_t serial);
#endif /* META_WAYLAND_POINTER_H */