Mir

Code review comment for lp:~brandontschaefer/mir/update-confined-region

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

> 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?

« Back to merge proposal