mirror of
https://github.com/brl/mutter.git
synced 2025-08-01 14:15:30 +00:00
640178a94ff354fa91f836fc945a994292acddc4

If a client would attach a buffer to a surface, commit, destroy the buffer and then later set the surface as a cursor, there will be no wl_buffer available to be used by the cursor role. Instead of dereferencing the non-existing wl_buffer resource, handle this situation by logging a warning and treating a prematurely destroyd wl_buffer as if no buffer had been attached. https://bugzilla.gnome.org/show_bug.cgi?id=770992
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%