[Wayland-bugs] [Bug 759168] wayland: Implement DND icon hotspot API

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 8 03:23:55 PST 2015


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

--- Comment #1 from Jonas Ã…dahl <jadahl at gmail.com> ---
Created attachment 316924
  --> https://bugzilla.gnome.org/attachment.cgi?id=316924&action=edit
wayland: Implement DND icon hotspot API

In Wayland, the hotspot of a DND icon is set using the buffer offset in
wl_buffer.attach. To implement this, add a private API to cause the
next wl_surface.attach to offset the new buffer with a given offset.
Setting a DND icon hotspot sets this offset while also queuing a redraw
of the window to trigger the wl_surface.attach.

-- 
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/20151208/1c3be208/attachment-0001.html>


More information about the wayland-bugs mailing list