Display server main control loop

Alexandros Frantzis alexandros.frantzis at canonical.com
Fri Apr 5 17:53:23 UTC 2013

On Fri, Apr 05, 2013 at 08:53:19AM +0200, Thomas Voß wrote:
> Fine with me, one niggle, though: Both DisplayConfigurationEvent and
> PauseResumeEvent are constructed in a factory-style, whereas StopEvent
> is not. Do you think it makes sense to unify the construction pattern here?

Perhaps. It depends on whether we need to have platform specific stop
events (i.e. something else than SIGINT/SIGTERM). For now (in MP [1]), I
left it as a local class, but I am happy to revisit if our needs change.


[1] https://code.launchpad.net/~afrantzis/mir/display-server-main-loop/+merge/157447

More information about the Mir-devel mailing list