Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bu.edu!m2c!wpi.WPI.EDU!maxine.wpi.edu!daven From: daven@maxine.wpi.edu (Dave Nedde) Newsgroups: comp.windows.x Subject: Why aren't XFlush/XSync working for me? Message-ID: <1991Jan16.190159.6004@wpi.WPI.EDU> Date: 16 Jan 91 19:01:59 GMT Sender: news@wpi.WPI.EDU (News) Reply-To: daven@maxine.wpi.edu (Dave Nedde) Organization: Worcester Polytechnic Institute Lines: 16 Nntp-Posting-Host: maxine.wpi.edu I have a tight loop that performs many X requests. However, I want to display changing status information during the processing. So, periodically, I will do an XSetValues to a label widget to update some information. I realize that my request will be ignored until the client has time to process it, but can't I use XFlush or XSync to tell the client to process all waiting events before taking any others? I tried using XFlush and XSync, inside the loop but they don't work and the status information is only displayed after I get out of the loop. Thanks for any help. -DaveN --- David Nedde, Computer Science Dept. daven@maxine.wpi.edu or @wpi.wpi.edu Worcester Polytechnic Institute (508) 831-5117/5668 Worcester, MA 01609 :^| HAVE A DAY.