From 59cd35f634468acfa2e48711da09fabc811d96f9 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 14 Sep 2001 19:25:17 +0000 Subject: [PATCH] hw/kdrive/vesa: initialize mouse matrix for non-rotated case correctly --- hw/kdrive/vesa/vesa.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/kdrive/vesa/vesa.c b/hw/kdrive/vesa/vesa.c index 960de6795..85e44d535 100644 --- a/hw/kdrive/vesa/vesa.c +++ b/hw/kdrive/vesa/vesa.c @@ -19,7 +19,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* $XFree86: xc/programs/Xserver/hw/kdrive/vesa/vesa.c,v 1.16 2001/07/24 19:06:04 keithp Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/kdrive/vesa/vesa.c,v 1.17 2001/09/05 07:12:42 keithp Exp $ */ #include "vesa.h" #ifdef RANDR @@ -749,6 +749,8 @@ vesaConfigureScreen (ScreenPtr pScreen) { pscr->shadow = TRUE; pscr->rotate = 0; + m.matrix[0][0] = 1; m.matrix[0][1] = 0; m.matrix[0][2] = 0; + m.matrix[1][0] = 0; m.matrix[1][1] = 1; m.matrix[1][2] = 0; } else switch (pscr->rotate) { case 0: