From 7c9f1a51ecd0775671a96f5cf6efe7e9cfb5e69c Mon Sep 17 00:00:00 2001 From: Chris Ison Date: Mon, 30 Sep 2002 23:16:20 +0000 Subject: [PATCH] Bug Fix, mouse didn't work in svga client.Fixed by closing the mouse before initing it due to vga_init initing the mouse when called --- libs/video/targets/in_svgalib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/video/targets/in_svgalib.c b/libs/video/targets/in_svgalib.c index 73ee3e534..7dc8049d5 100644 --- a/libs/video/targets/in_svgalib.c +++ b/libs/video/targets/in_svgalib.c @@ -389,6 +389,9 @@ IN_InitMouse (void) Sys_Printf ("Mouse: dev=%s,type=%s,speed=%d\n", mousedev, mice[mtype].name, mouserate); #endif + //FIXME: vga_init() opens the mouse automoatically + // closing it to ensure its opened how we want it + mouse_close(); if (mouse_init (mousedev, mtype, mouserate)) { Con_Printf ("No mouse found\n"); UseMouse = 0;