Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!ncar!noao!ut-sally!gaigan!petree From: petree@gaigan.cs.utexas.edu (Mitch Petree) Newsgroups: comp.windows.x Subject: XUnmapTransparent function in X11? Message-ID: <11232@ut-sally.UUCP> Date: 13 Apr 88 18:11:44 GMT Sender: news@ut-sally.UUCP Lines: 20 Keywords: XUnmapTransparent, x10 to x11 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)