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

--- Comment #10 from Matthias Clasen <[email protected]> ---
(In reply to Carlos Garnacho from comment #9)

> 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...

Ah, I misunderstood.

> 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

That sounds like a good idea.

> - 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"

I assume in practice that is how it is used anyway ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to