[Wayland-bugs] [Bug 748763] warnings when starting drag from GtkEntries

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 1 07:37:09 PST 2015


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

--- Comment #17 from Matthias Clasen <mclasen at redhat.com> ---
Created attachment 316612
  --> https://bugzilla.gnome.org/attachment.cgi?id=316612&action=edit
dnd: Fix issues with Wayland dnd surfaces

The Wayland dnd surface must remain in place until the drag
is over. Setting it directly as the hardcoded window of the
widget we construct carries the danger that it might get
destroyed prematurely, e.g. when the application calls
gtk_drag_set_icon_name more than once and we recreate the
widget.

Instead, create a dedicated toplevel, and reparent the widget
into it.

-- 
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/20151201/a5da0d56/attachment.html>


More information about the wayland-bugs mailing list