Skip to content

Remove wl_shm code path in SurfaceCursorSource

Vlad Zahorodnii requested to merge work/zzag/grab-cursor-app into master

The SurfaceCursorSource assumes that the cursor surface has a wl_shm buffer attached to it, which is a bad assumption, as the client can attach a buffer of any type to the surface. Furthermore, the cursor surface can have custom transforms applied to it, for example a wp_viewport, which current code fails to handle.

Edited by Vlad Zahorodnii

Merge request reports