Date: Tue, 18 Feb 2003 14:14:08 -0500 From: "Brian T. Schellenberger" <bts@babbleon.org> To: freebsd-ports@freebsd.org, shige@freebsd.org, xvtech@trilon.com Subject: xv patch Message-ID: <200302181414.10058.bts@babbleon.org>
next in thread | raw e-mail | index | archive | help
--------------Boundary-00=_KRQIU7RNRXCTG7LWLRCU Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Subject: Could the attached patch be added to the FreeBSD xv port, in the short term, and to the main xv sources in the long term (if the concept of a new version of xv ever coming out isn't totally laughable, that is)? It avoids refresh problems with certain X-windows drivers. Thanks for your consideration. -- Brian, the man from Babble-On . . . . bts@babbleon.org (personal) --------------Boundary-00=_KRQIU7RNRXCTG7LWLRCU Content-Type: text/x-diff; charset="us-ascii"; name="xv-patches" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xv-patches" --- xv.c.old Mon Aug 12 00:01:50 2002 +++ xv.c Wed Aug 14 23:05:52 2002 @@ -2784,7 +2784,11 @@ to generate the correct exposes (particularly with 'BitGravity' turned on */ - if (mainW && !useroot) GenExpose(mainW, 0, 0, (u_int) eWIDE, (u_int) eHIGH); + /*Brian T. Schellenberger: fix for X 4.2 refresh problem*/ + if (mainW && !useroot) { + XSync(theDisp, False); + GenExpose(mainW, 0, 0, (u_int) eWIDE, (u_int) eHIGH); + } return 1; --------------Boundary-00=_KRQIU7RNRXCTG7LWLRCU-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302181414.10058.bts>