Path: utzoo!mnetor!uunet!husc6!necntc!ames!ucbcad!ucbvax!ZERMATT.LCS.MIT.EDU!RWS From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) Newsgroups: comp.windows.x Subject: Problems with XGetImage Message-ID: <871210082207.5.RWS@KILLINGTON.LCS.MIT.EDU> Date: 10 Dec 87 13:22:00 GMT References: <8712092242.AA00177@blackstone> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 21 Date: Wed, 9 Dec 87 15:42:25 mst From: hi!blackstone!dargiro@hc.dspo.gov (Danielle Argiro-S) window_image = XGetImage(DSP_str, workspace, x, y, width, height, plane_mask, format); where: 3) x and y are ints, both equal to 32. 4) width and height are unsigned ints, both equal to 512. It seems that no matter *what* I do, it comes back with an X ERROR message about "mismatched parameters" just before it crashes. The protocol requires that the requested rectangle be wholly contained in the window, and fully visible on the screen. Since I have no idea what geometry your window has, I can't know for sure, but the "parameter mismatch" error is consistent with asking for an inappropriate rectangle. Since you don't say what "it" is that crashes, I can't comment on that aspect. If it is the server crashing, please submit a bug report to xbugs@athena.mit.edu.