xserver/dix window.c,3.43,3.44

Keith Packard <xserver-commit-u7BhqnqprCWvj1b/[email protected]> Tue, 8 Feb 2005 14:53:46 -0800 (PST)
Newsgroups gmane.comp.freedesktop.xserver.cvs
Message-ID <[email protected]>
Committed by: keithp

Update of /cvs/xserver/xserver/dix
In directory gabe:/tmp/cvs-serv19708/dix

Modified Files:
	window.c 
Log Message:
2005-02-08  Keith Packard  <[email protected]>

	* dix/window.c:
	Semi-support for ShapeInput from WarpPointer request.
	Broken in that overlying windows with Input regions won't
	do the right thing.  Somewhat tricky to fix; the obvious
	kludge is just to search.


Index: window.c
===================================================================
RCS file: /cvs/xserver/xserver/dix/window.c,v
retrieving revision 3.43
retrieving revision 3.44
diff -u -d -r3.43 -r3.44
--- window.c	8 Feb 2005 21:51:41 -0000	3.43
+++ window.c	8 Feb 2005 22:53:44 -0000	3.44
@@ -3220,7 +3220,7 @@
 	    POINT_IN_REGION(pWin->drawable.pScreen,
 			    wInputShape(pWin),
 			    x - pWin->drawable.x, 
-			    y - pWin->drawable.y, &box))
+			    y - pWin->drawable.y, &box)))
 	return(TRUE);
     return(FALSE);
 }