Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!sunybcs!uhura.cc.rochester.edu!rochester!newkodak!kodak!ektools!jgb From: jgb@ektools.UUCP (Blose) Newsgroups: comp.windows.x Subject: Invisible foreground Keywords: Background is visible, not foreground Message-ID: <2687@ektools.UUCP> Date: 7 Jun 90 15:11:24 GMT Sender: jgb@ektools (Joanne Green-Blose) Organization: Eastman Kodak, Dept. 47, Rochester N.Y. Lines: 19 I have been struggling with an annoying problem in getting anything in my windows to display with X. I am writing an application program which writes objects to a pixmap. I then attempt an XCopyArea from the pixmap to the window, followed by a MapRaised of the window. It seems that only the background is visible. I cannot get the foreground visible at all. I've got around this by using XSetWindowBackgroundPixmap and having my pixmap serve as the background. However this approach is very limited (for ex. what if you really do want a background AND a foregound? (not unreasonable, right?). Is there some attribute perhaps in the window which could be suppressing the foreground from being displayed? I'm using XCreateSimpleWindow to create my window. It's parent is root. Thanks to anyone who can shed some light here! -Joanne Greene-Blose