[Wayland-bugs] [Bug 770952] wayland: Don't destroy cursor backing storage when the buffer is released

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 6 14:08:32 UTC 2016


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

--- Comment #1 from Kalev Lember <klember at gnome.org> ---
Created attachment 334911
  --> https://bugzilla.gnome.org/attachment.cgi?id=334911&action=edit
wayland: Don't destroy cursor backing storage when the buffer is released

As per wayland documentation, a client is free to re-use a buffer and its
backing storage after it is released by the compositor. This commit changes the
wayland cursor cairo_surface destroy logic so that the surface is destroyed
together with the cursor object and kept around meanwhile.

This fixes a cairo_surface refcount underrun and a virt-manager crash reported
in https://bugzilla.redhat.com/show_bug.cgi?id=1373372

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160906/1caa045b/attachment.html>


More information about the wayland-bugs mailing list