[Wayland-bugs] [Bug 759168] wayland: Implement DND icon hotspot API
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue Dec 8 19:00:15 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=759168
Jonas Ådahl <jadahl at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #316924|needs-work |none
status| |
Attachment #316924|0 |1
is obsolete| |
--- Comment #10 from Jonas Ådahl <jadahl at gmail.com> ---
Created attachment 316996
--> https://bugzilla.gnome.org/attachment.cgi?id=316996&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/20151209/e092860e/attachment-0001.html>
More information about the wayland-bugs
mailing list