[Wayland-bugs] [Bug 749339] [Wayland] Gdk-CRITICAL **: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Sun Aug 2 23:38:01 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=749339

--- Comment #9 from Jonas Ã…dahl <jadahl at gmail.com> ---
Created attachment 308651
  --> https://bugzilla.gnome.org/attachment.cgi?id=308651&action=edit
wayland: Don't assume drag context has a source window when finalizing

Only a drag context which was created with 'drag_begin' will be
guaranteed to have a source window. Thus, in finalize we cannot assume
we can retrieve a GdkDisplay from the source_window pointer since it
may be NULL. Though, the display is only needed for contexts created
via 'drag_begin' thus we can retrieve it after checking that is the
case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150803/7951e913/attachment.html>


More information about the wayland-bugs mailing list