[Xorg-commit] xc/programs/Xserver/hw/xwin winmouse.c,1.1.6.1,1.1.6.2

Takuma Murakami xorg-commit at pdx.freedesktop.org
Wed May 9 17:30:30 EEST 2007


Committed by: takuma

Update of /cvs/xorg/xc/programs/Xserver/hw/xwin
In directory pdx:/tmp/cvs-serv988

Modified Files:
      Tag: CYGWIN
	winmouse.c 
Log Message:
Properly clear the internal mouse button map when the mouse device is closed.


Index: winmouse.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/winmouse.c,v
retrieving revision 1.1.6.1
retrieving revision 1.1.6.2
diff -u -d -r1.1.6.1 -r1.1.6.2
--- winmouse.c	9 Dec 2003 01:37:16 -0000	1.1.6.1
+++ winmouse.c	17 Feb 2004 07:23:22 -0000	1.1.6.2
@@ -83,6 +83,9 @@
       break;
 
     case DEVICE_CLOSE:
+#if defined(XFree86Server) && defined(XINPUT)
+      g_winMouseButtonMap = NULL;
+#endif
     case DEVICE_OFF:
       pDevice->on = FALSE;
       break;





More information about the xorg-commit mailing list