[Wayland-bugs] [Bug 770906] Wayland: Unmapping a toplevel from a menu/popup can lead to a protocol error
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue Sep 6 07:45:12 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=770906
--- Comment #2 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 334878
--> https://bugzilla.gnome.org/attachment.cgi?id=334878&action=edit
[PATCH] wayland: unmap popup along with its toplevel
If an application umaps the toplevel from its popup callback, this can
lead to a protocol error.
Make sure we mark popup parent and use that to check if their parent is
the toplevel being unmapped in which case we shall unmap the popup first
to avoid the protocol error.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160906/ddc74982/attachment.html>
More information about the wayland-bugs
mailing list