Xephyr: fix pointer coordinate translation when screen is rotated
authorTomas Frydrych <tomas@sleepfive.com>
Wed, 18 May 2011 19:49:52 +0000 (20:49 +0100)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 24 May 2011 22:23:58 +0000 (08:23 +1000)
commit83c059f03463f2d7f41e172afe510d1ca9bba8b0
treea5fd7a3178ff352f793414dcb7aa591d03c2bea9
parentb387069fafbe549f2091f364e2aa92af6cc21261
Xephyr: fix pointer coordinate translation when screen is rotated

In the Xephyr case the position of the pointer relative toward the
Xephyr window is controlled by the host server without taking into
account rotation of the Xephyr screen. Consequently the pointer coords
must always be translated when the fb is rotated.

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
hw/kdrive/ephyr/ephyr.c