Clients reading their surface position on screen

Christopher James Halse Rogers chris at cooperteam.net
Thu Aug 14 23:56:32 UTC 2014


On Fri, Aug 15, 2014 at 9:32 AM, Gerry Boland 
<gerry.boland at canonical.com> wrote:
> On 14/08/14 00:31, Christopher James Halse Rogers wrote:
>>  Ok. I think we've explored all the relevant options
>> 
>>  If I implemented
>> 
>>  mir_debug_surface_coord_to_screen(MirSurface, int x, int y, int* 
>> outx,
>>  int* outy)
>> 
>>  in libmirclient-debug and hooked it up to a --debug flag, who would
>>  object, and what would those objections be?
>> 
>> 
> 
> And libmirclient-debug is shipped in a separate package which isn't
> installed on the device by default? Just thinking how this feature 
> will
> not be accessible to all apps.

Correct. Also, Unity8 won't respond to these requests unless started 
with --debug. Which we obviously won't do by default.

So, it's available to all apps when debugging is enabled, or no apps 
when debugging is not enabled.




More information about the Mir-devel mailing list