[Wayland-bugs] [Bug 763387] Make window creation hooks in tab DnD work on wayland
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Wed Mar 9 17:59:36 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=763387
--- Comment #1 from Carlos Garnacho <carlosg at gnome.org> ---
Created attachment 323532
--> https://bugzilla.gnome.org/attachment.cgi?id=323532&action=edit
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.
--
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/20160309/f8ca298e/attachment-0001.html>
More information about the wayland-bugs
mailing list