<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Make window creation hooks in tab DnD work on wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=763387#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Make window creation hooks in tab DnD work on wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=763387">bug 763387</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=carlosg%40gnome.org" title="Carlos Garnacho <carlosg@gnome.org>"> <span class="fn">Carlos Garnacho</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=323532&action=diff" name="attach_323532" title="gtkdnd: Check whether the target is handled by the widget">attachment 323532</a> <a href="attachment.cgi?id=323532&action=edit" title="gtkdnd: Check whether the target is handled by the widget">[details]</a></span> <a href='review?bug=763387&attachment=323532'>[review]</a>
gtkdnd: Check whether the target is handled by the widget
This avoids widgets from "managing" drag and drop (eg. returning TRUE
in their handlers) for mimetypes they're even not meant to handle. This
makes the DnD machinery work in a similar way to event bubbling, the
first widget found (from bottom to top) that manages the target and returns
TRUE in their handlers will win.
This eg. avoids cases like textviews in notebooks, which are both
capable of DnD, yet the textview will be returning TRUE for the
GTK_NOTEBOOK_TAB target used by notebooks, this would make it ignore
the textview and let the notebook handle the target.</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>