Skip to content
Commit 51e8cfc4 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Refactor SurfaceRole

After introducing SurfaceExtension, SurfaceRole has lost its commit()
function. It serves informative purpose now only.

Shell surface implementations don't have to inherit from SurfaceRole.

By making SurfaceRole act more like a value type, it's possible to fix
role handling in wl_pointer.set_cursor.
parent 36a548ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment