-
Committer:
Tarmac
-
Author(s):
Christopher James Halse Rogers
-
Date:
2014-10-27 22:31:16 UTC
-
mfrom:
(1840.3.30 bug-bug-debug-the-bugs)
-
Revision ID:
tarmac-20141027223116-h1ggv4pjurucd2d9
Add a debug interface to translate from surface to screen coordinates.
This is the Mir part of the infrastructure for Autopilot to determine the screen location of widgets, for full-stack testing.
This is hidden behind a --debug server option, to make it absolutely clear that applications cannot depend on this functionality outside of a constrained environment.
(See also https://lists.ubuntu.com/archives/mir-devel/2014-August/000848.html)
Fixes: https://bugs.launchpad.net/mir/+bug/1346633. Fixes: https://bugs.launchpad.net/bugs/1346633.
Approved by PS Jenkins bot, Alberto Aguirre, Alan Griffiths, Andreas Pokorny, Alexandros Frantzis.