Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!apple!oliveb!mipos3!pinkas From: pinkas@cad001.intel.com (Israel Pinkas ~) Newsgroups: comp.windows.x Subject: NoExpose event? Message-ID: Date: 4 Aug 89 02:53:31 GMT Sender: news@mipos3.intel.com Distribution: comp Organization: Corporate CAD, INTeL Corporation, Santa Clara, CA Lines: 39 Is the server supposed to send a NoExposeEvent (or GraphicsExpose events) when using XCopyArea to copy a window to a pixmap? I have the following code: XCopyArea(display, win, pix, lineGC, sx, sy, sw, sh, 0, 0); do { XMaskEvent(display, NoEventMask, &rep); } while ((rep.type != NoExpose) && ((rep.type != GraphicsExpose) || (rep.xgraphicsexpose.count != 0))); The call to XMaskEvent does not return. Same problem if I use XNextEvent. The need for this is that I am lowering the window. I have determined that they area defined by (sx, sy, sw, sh) should be saved away, and pix was created to be the correct size. I need to do this before lowering the window. My understanding from the documentation is that I am supposed to either get a NoExpose event or at least one GraphicsExpose event. No mention was made of a special case if the destination is a drawable. Any help would be appreciated. Thanks, -Israel Pinkas -- -------------------------------------- Disclaimer: The above are my personal opinions, and in no way represent the opinions of Intel Corporation. In no way should the above be taken to be a statement of Intel. UUCP: {amdcad,decwrl,hplabs,oliveb,pur-ee,qantel}!intelca!mipos3!cadev4!pinkas ARPA: pinkas%cadev4.intel.com@relay.cs.net CSNET: pinkas@cadev4.intel.com