summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2001-09-14 19:25:17 +0000
committerKeith Packard <keithp@keithp.com>2001-09-14 19:25:17 +0000
commit59cd35f634468acfa2e48711da09fabc811d96f9 (patch)
treea960b1d047d47cb605d7e047a1da382cab921a12
parentfbaf3ceae0519ebdfee4b6a73b1bc0000f141cf2 (diff)
hw/kdrive/vesa: initialize mouse matrix for non-rotated case correctly
-rw-r--r--hw/kdrive/vesa/vesa.c4
1 files changed, 3 insertions, 1 deletions
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: