RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (10/28/87)
VERSION:
X11 release 1
SYNOPSIS:
WarpPointer doesn't always when it should
DESCRIPTION:
WarpPointer doesn't include inferiors of the
source window in its visibility calculation,
but should. (The spec is ambiguous on this
point, and needs rewording.)
REPEAT-BY:
Try warping the pointer with the root as the
source, when the pointer is in a top-level window.
FIX:
in server/dix/window.c:
*** /tmp/,RCSt1006616 Wed Oct 28 11:02:32 1987
--- window.c Wed Oct 28 10:55:59 1987
***************
*** 22,28 ****
******************************************************************/
! /* $Header: window.c,v 1.170 87/09/07 18:56:00 rws Exp $ */
#include "X.h"
#define NEED_REPLIES
--- 22,28 ----
******************************************************************/
! /* $Header: window.c,v 1.172 87/10/28 10:54:50 rws Exp $ */
#include "X.h"
#define NEED_REPLIES
***************
*** 2778,2784 ****
if (!pWin->realized)
return (FALSE);
! if ((* pWin->drawable.pScreen->PointInRegion)(pWin->clipList, x, y, &box))
return(TRUE);
return(FALSE);
}
--- 2778,2784 ----
if (!pWin->realized)
return (FALSE);
! if ((* pWin->drawable.pScreen->PointInRegion)(pWin->borderClip, x, y, &box))
return(TRUE);
return(FALSE);
}