Mir

Comment 3 for bug 1498540

Revision history for this message
Alberto Aguirre (albaguirre) wrote :

The issue is mir::input::DisplayInputRegion::bounding_rectangle() as it returns a bounding region for all displays and its used to scale the touch screen coordinates.

When an external display is connected to Nexus 7, the resulting bounding region is 0, 0, 1920,1920 as the primary display is 1200, 1920 and the external display is 1920, 1080.

This does not happen when hotplugging because the android InputReader is not updated, so it uses the original bounding rectangle of 1200, 1920 when the server starts up.