jgraham@crc2.sofkin.ca (Jay Graham) (04/30/91)
In my X (Xlib) application I have a window (on my display) that I draw lines/arcs and copy pixmaps to. Now I want to open a display on another workstation and duplicate the window there. 1) Can/should I XGetImage(My_Display, My_Window,....) /* Entire window */ then XPutImage(Other_Display, Same_Size_Window, ... ) to duplicate/copy the window? (Can I Get from one display and Put to another?) OR 2) Do all the drawing explicitly? If I have to draw everything explicitly how do I get my pixmaps (that were created for My_Display) copied so that I can use them on the Other_Display? (XCopyArea does not work when source and destination have different displays and screens.) I have tried to XGetImage from a pixmap for My_Display and then XPutImage to a pixmap for the Other_Display but when I display the pixmap on Other_Display (with XSetClipMask and XFillRectangle) nothing is presented. I am using X11R3 on an AT&T 386 with 386/ix from ISC. Any help would be greatly appreciated. Jay Graham Software Kinetics Ltd., Ottawa, Ontario, Canada, Tel. (613) 831-0888 Fax. (613) 831 1836 Email jgraham@crc.skl.dnd.ca