Mir

Code review comment for lp:~vanvugt/mir/wait-result

Revision history for this message
Chris Halse Rogers (raof) wrote :

Yes, but could you give an example of such a function?

The closest I can think of is along the lines of mir_surface_set_state, but you can't reasonably just wait on the boolean result - the shell could respond by changing your state but not to the exact state you asked for. Indeed, the shell can change your state at any point without you calling mir_surface_set_state, so if you need to react to state changes you already need to be listening to surface events.

« Back to merge proposal