petree@gaigan.cs.utexas.edu (Mitch Petree) (04/14/88)
In the X10-correspond document, XUnmapTransparent is declared obsolete and no
longer supported. Below is some code I use after putting up a dialogue box
to repaint the screen with the original pixmap. What is the new strategy
for these operations without using XUnmapTransparent? I admit I haven't read
the new X11 manual completely yet, as I am only trying to make some X10 stuff
conditionally compilable for X10 or X11.
/* Restore the saved pixmap. */
if (savedPixmap != 0) {
XPixmapPut(RootWindow, 0, 0, rootX, rootY, outerWidth,
outerHeight, savedPixmap, GXcopy, AllPlanes);
XUnmapTransparent(dialogue_window);
XFreePixmap(savedPixmap);
}
XDestroyWindow(dialogue_window);
XFlush();
Does anyone have a better method for this operation? Please e-mail solutions
if not generally important or if already known.
Thanks, Mitch Petree (petree@gaigan.cs.utexas.edu)