[Wayland-bugs] [Bug 748763] warnings when starting drag from GtkEntries
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Thu May 21 13:00:22 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=748763
--- Comment #9 from Carlos Garnacho <carlosg at gnome.org> ---
(In reply to Matthias Clasen from comment #8)
> (In reply to Carlos Garnacho from comment #7)
>
> > This is completely harmless in X11, but causes issues on wayland as
> > the DnD icon window is expected to remain unchanged during DnD there.
>
> Really ? I thought we can draw on that surface just like any other surface ?
Sure, redraws/resizes are fine, let me remark "icon window" :). What I'm trying
to avoid here is multiple calls to gtk_drag_set_icon_window(), which destroys
the former DnD icon GdkWindow/surface. This function is currently at the core
of every other gtk_drag_set_icon* call...
About the general case, I wonder if this is the way to go, and we:
- ensure surface/pixbuf/stock APIs don't end up replacing the entire icon
window every time they're called
- Document gtk_drag_set_icon_widget() as "one time call on ::drag-begin, no way
back to surface/pixbuf/stock icons, you are free to replace contents, but don't
destroy"
--
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/20150521/ed70f107/attachment.html>
More information about the wayland-bugs
mailing list