Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!gatech!hubcap!ncrcae!ncr-sd!hp-sdd!hplabs!ucbvax!ZERMATT.LCS.MIT.EDU!RWS From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) Newsgroups: comp.windows.x Subject: Relative Warp Message-ID: <871002155711.5.RWS@KILLINGTON.LCS.MIT.EDU> Date: Fri, 2-Oct-87 15:57:00 EDT Article-I.D.: KILLINGT.871002155711.5.RWS Posted: Fri Oct 2 15:57:00 1987 Date-Received: Tue, 6-Oct-87 06:16:41 EDT References: <8710021815.AA01289@audi.siemens.com> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 73 Date: Fri, 2 Oct 87 14:15:14 EDT From: ellis%cadillac.siemens.com@PRINCETON.EDU (Ellis Cohen) Subject: Relative Warp Not Implemented VERSION: X11 release 1 - from hesiod - Xsun server on Sun-3/140, monochrome, 12mb, SunOS 3.2 SYNOPSIS: Relative warp has not been implemented DESCRIPTION: Calling XWarpPointer(dpy, None, None, 0, 0, 0, 0, x, y); XFlush(dpy); has no effect on the pointer at all, regardless of the value of x and y. REPEAT-BY: Try the call with non-zero x and y. Actually, it has been implemented, but the person who installed the code for that protocol addition failed to remove some of the old code. You should have been getting BadWindow errors back from your test (I certainly was via CLX). The following will remedy the situation, but I will point out that testing it revealed another problem, namely that the server requires the pointer to be in a visible region of the source window, *excluding* visible regions of its inferiors. That is not what I intended in the protocol spec, but I admit the wording of the spec easily leads one to that conclusion. Further discussion on this point will have to take place before a fix is provided. *** /tmp/,RCSt1020347 Fri Oct 2 15:39:08 1987 --- events.c Fri Oct 2 15:32:56 1987 *************** *** 23,29 **** ********************************************************/ ! /* $Header: events.c,v 1.108 87/09/09 10:18:23 toddb Exp $ */ #include "X.h" #include "misc.h" --- 23,29 ---- ********************************************************/ ! /* $Header: events.c,v 1.109 87/10/02 15:31:47 rws Exp $ */ #include "X.h" #include "misc.h" *************** *** 1071,1082 **** REQUEST(xWarpPointerReq); REQUEST_SIZE_MATCH(xWarpPointerReq); - dest = LookupWindow(stuff->dstWid, client); - if (!dest) - { - client->errorValue = stuff->dstWid; - return BadWindow; - } if (stuff->dstWid != None) { dest = LookupWindow(stuff->dstWid, client); --- 1071,1076 ----