mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
Jonas Ådahl
96927b3415
wayland: Don't access the cursor wl_buffer when updating the sprite
We may have released the wl_buffer already when doing this, which means we should not try to access the wl_buffer content. Regarding the cursor texture this is not an issue since we can just use the texture created in apply_pending_state(). The hw cursor however will only be realized if the surface is already using the the buffer (surface->using_buffer == true). This will, at the moment, effectively disable hardware cursors for SHM buffers. https://bugzilla.gnome.org/show_bug.cgi?id=762828
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%