[Wayland-bugs] [Bug 761156] [Wayland] Setting a popover 'relative_to' a widget on an offscreen window crashes gtk+
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Mon Feb 29 09:39:45 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=761156
--- Comment #9 from Jonas Ã…dahl <jadahl at gmail.com> ---
(In reply to Matthias Clasen from comment #7)
> Review of attachment 322536 [details] [review]:
>
> This feels wrong to me to check for an offscreen window in this one place.
> Can we not instead fix up the transient loop check to not croak ?
If we don't check it there, or skip setting the transiency in the realize
function, we pass, according to the API, invalid input to
gdk_window_set_transient_for(). gdk_window_set_transient_for() takes two
toplevel GdkWindow's, so passing an offscreen GdkWindow as a parent is not
valid.
--
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/20160229/84762e2e/attachment-0001.html>
More information about the wayland-bugs
mailing list