Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!ZERMATT.LCS.MIT.EDU!RWS From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) Newsgroups: comp.windows.x Subject: X11 fix #45, server/ddx duo, dead mouse syndrome Message-ID: <871105101855.0.RWS@KILLINGTON.LCS.MIT.EDU> Date: Thu, 5-Nov-87 10:18:00 EST Article-I.D.: KILLINGT.871105101855.0.RWS Posted: Thu Nov 5 10:18:00 1987 Date-Received: Sun, 8-Nov-87 03:22:34 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 85 Date: Mon, 26 Oct 87 16:37:33 EST From: Ralph R. Swick DESCRIPTION: VSII: after starting up X, the cursor tracks the mouse but never changes on window crossings and input always goes to one window (if any). RT: after starting up X, the cursor does not track the mouse but will jump to a new position whenever a button is pressed. Cursor never changes, input goes to single window. FIX: 2 files: server/ddx/qvss/qvss_io.c, server/ddx/ibm/apa16/apa16io.c *** /tmp/,RCSt1002365 Thu Nov 5 10:09:43 1987 --- server/ddx/qvss/qvss_io.c Mon Oct 26 16:08:41 1987 *************** *** 21,27 **** SOFTWARE. ******************************************************************/ ! /* $Header: qvss_io.c,v 1.68 87/09/10 16:23:01 swick Exp $ */ #include #include --- 21,27 ---- SOFTWARE. ******************************************************************/ ! /* $Header: qvss_io.c,v 1.69 87/10/26 16:08:31 swick Exp $ */ #include #include *************** *** 143,148 **** --- 143,149 ---- } mouse = (vsCursor *) &qvInfo->mouse; mbox = (vsBox *) &qvInfo->mbox; + mbox->bottom = 0; /* trash pointer non-interest box 'cause driver won't */ /* the following hack is really pretending a part of one record is really a record of another type! *** /tmp/,RCSt1002375 Thu Nov 5 10:13:57 1987 --- server/ddx/ibm/apa16/apa16io.c Mon Oct 26 16:22:30 1987 *************** *** 44,54 **** ******************************************************************/ ! /* $Header: apa16io.c,v 5.6 87/09/13 03:18:24 erik Exp $ */ ! /* $Source: /u1/X11/server/ddx/ibm/apa16/RCS/apa16io.c,v $ */ #ifndef lint ! static char *rcsid = "$Header: apa16io.c,v 5.6 87/09/13 03:18:24 erik Exp $"; #endif #include --- 44,54 ---- ******************************************************************/ ! /* $Header: apa16io.c,v 5.7 87/10/26 16:21:42 swick Exp $ */ ! /* $Source: /site/X11/server/ddx/ibm/apa16/RCS/apa16io.c,v $ */ #ifndef lint ! static char *rcsid = "$Header: apa16io.c,v 5.7 87/10/26 16:21:42 swick Exp $"; #endif #include *************** *** 133,138 **** --- 133,139 ---- ioctl(rtScreenFD,EISETD,&emulator); ioctl(rtScreenFD,QIOCADDR,&rtXaddr); rtQueue= (XEventQueue *)(&rtXaddr->ibuff); + rtXaddr->mbox.bottom = 0; /* trash non-interest box */ if (open ("/dev/bus", O_RDONLY|O_NDELAY) < 0) { ErrorF("Unable to open /dev/bus\n");