<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] Gdk-CRITICAL **: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed"
href="https://bugzilla.gnome.org/show_bug.cgi?id=749339#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] Gdk-CRITICAL **: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed"
href="https://bugzilla.gnome.org/show_bug.cgi?id=749339">bug 749339</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=308651&action=diff" name="attach_308651" title="wayland: Don't assume drag context has a source window when finalizing">attachment 308651</a> <a href="attachment.cgi?id=308651&action=edit" title="wayland: Don't assume drag context has a source window when finalizing">[details]</a></span> <a href='review?bug=749339&attachment=308651'>[review]</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>