Fix framebuffer width/height computation.
This patch fixes a bug in the skin parsing code that computes the
dimensions of the emulated framebuffer. The bug had the following
symptoms:
- The vertical framebuffer size reported by the 'events' device
was always 640 (the default), independent of the skin's
dimensions and emulated 'framebuffer' device dimensions.
As such, all touch event Y coordinates were scaled by the
system by 480/640 when running inside a HVGA screen.
Change-Id: I8c67f011ee3929ef25cbf2c858ee800f277c516c
1 file changed