Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!ig!jade!ucbvax!ZERMATT.LCS.MIT.EDU!RWS From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) Newsgroups: comp.windows.x Subject: X11 fix #34, server/dix/window.c, correct visibility def Message-ID: <871028112044.4.RWS@KILLINGTON.LCS.MIT.EDU> Date: Wed, 28-Oct-87 11:20:00 EST Article-I.D.: KILLINGT.871028112044.4.RWS Posted: Wed Oct 28 11:20:00 1987 Date-Received: Sat, 31-Oct-87 09:02:58 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 51 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); }