Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!rice!uw-beaver!mit-eddie!bloom-beacon!dont-send-mail-to-path-lines From: pete@iris49.UUCP (Pete Ware) Newsgroups: comp.windows.x Subject: XFlush/XSync inside the widget or in the app Message-ID: <9102141621.AA03712@iris49.biosym.com> Date: 14 Feb 91 16:21:46 GMT References: <1991Feb13.225240.547@thyme.jpl.nasa.gov> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 13 Philosophically speaking, neither a widget nor an application should ever call XSync or XFlush. XFlush gets called from the event loop or when the data buffer is full. Things usually refresh fastest if you never explicitely XFlush. There are exceptions, such as scrolling, that may make you want to call XSync, but generally avoid it. --pete Pete Ware / Biosym / San Diego CA / (619) 546-5532 uucp: scripps.edu!bioc1!pete Internet: bioc1!pete@scripps.edu