Wouldn't a default constructor be less repetitive?
~~~~
Why is "MirEventDelegate const *event_handler" a separate parameter and not a member of MirSurfaceParameters?
~~~~
"Should the event handler type take MirSurface as the first argument? ... ubuntu_platform_api uses no Surface as the first argument and delegate attached to surface (or rather two argument callback, context). Maybe we should just work this way?"
321 InputMessage msg; InputMessage) ); InputMessage) ); InputMessage) );
322 + memset(&msg, 0, sizeof(
...
330 InputMessage msg;
331 + memset(&msg, 0, sizeof(
...
339 InputMessage msg;
340 + memset(&msg, 0, sizeof(
Wouldn't a default constructor be less repetitive?
~~~~
Why is "MirEventDelegate const *event_handler" a separate parameter and not a member of MirSurfaceParam eters?
~~~~
"Should the event handler type take MirSurface as the first argument? ... ubuntu_platform_api uses no Surface as the first argument and delegate attached to surface (or rather two argument callback, context). Maybe we should just work this way?"