> I agree, attempting to do a surface observer in the abstract shell has proven
> to need a bit more thought. Its strange having to store a unoredered mapping
> of the observers for a surface id. As well as passing the session/surface
> id/seat to the observer so it can check if the surface is confined before
> updating that seat.
That sounds like hard work.
Can't you just have have one observer that is pointed at whichever surface is confining the cursor?
> I agree, attempting to do a surface observer in the abstract shell has proven
> to need a bit more thought. Its strange having to store a unoredered mapping
> of the observers for a surface id. As well as passing the session/surface
> id/seat to the observer so it can check if the surface is confined before
> updating that seat.
That sounds like hard work.
Can't you just have have one observer that is pointed at whichever surface is confining the cursor?