summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2001-06-16 05:53:05 +0000
committerKeith Packard <keithp@keithp.com>2001-06-16 05:53:05 +0000
commit6d86517b0ed0db51f3eaf19c186db52feb1e47e0 (patch)
tree096bc3aad09332c83339dbd5feae8adecce45ba0
parent54aea8ec0c1c3633788fd9b19636093860c75d53 (diff)
Screen flipping broken pointer remapping
-rw-r--r--hw/kdrive/fbdev/fbdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev/fbdev.c
index d090e9e6d..b31b7ebaa 100644
--- a/hw/kdrive/fbdev/fbdev.c
+++ b/hw/kdrive/fbdev/fbdev.c
@@ -21,7 +21,7 @@
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $XFree86: xc/programs/Xserver/hw/kdrive/fbdev/fbdev.c,v 1.19 2001/06/05 17:17:39 keithp Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/kdrive/fbdev/fbdev.c,v 1.20 2001/06/13 19:18:44 keithp Exp $ */
#include "fbdev.h"
@@ -330,7 +330,7 @@ fbdevLayerCreate (ScreenPtr pScreen)
pScreen->width = screen->height;
pScreen->height = screen->width;
scrpriv->shadow = TRUE;
- m.matrix[0][0] = 0; m.matrix[0][1] = -1; m.matrix[0][2] = screen->width - 1;
+ m.matrix[0][0] = 0; m.matrix[0][1] = -1; m.matrix[0][2] = screen->height - 1;
m.matrix[1][0] = 1; m.matrix[1][1] = 0; m.matrix[1][2] = 0;
break;
case 180:
@@ -345,7 +345,7 @@ fbdevLayerCreate (ScreenPtr pScreen)
pScreen->height = screen->width;
scrpriv->shadow = TRUE;
m.matrix[0][0] = 0; m.matrix[0][1] = 1; m.matrix[0][2] = 0;
- m.matrix[1][0] = -1; m.matrix[1][1] = 0; m.matrix[1][2] = screen->height - 1;
+ m.matrix[1][0] = -1; m.matrix[1][1] = 0; m.matrix[1][2] = screen->width - 1;
break;
}
KdSetMouseMatrix (&m);