Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!tulip.cis.ohio-state.edu!hall From: hall@tulip.cis.ohio-state.edu (john hall) Newsgroups: comp.windows.x Subject: Re: Novice X11 question on Borders Message-ID: <35027@tut.cis.ohio-state.edu> Date: 13 Feb 89 22:12:04 GMT Sender: news@tut.cis.ohio-state.edu Reply-To: Distribution: usa Organization: Ohio State University Computer and Information Science Lines: 26 Thanks to: Tom LaStrange spencer@crim.eecs.umich.edu (Spencer W. Thomas) Problem: I want white text and border, black background. I was having trouble gettinG the white border. 47 mywindow = XCreateSimpleWindow( mydisplay, 48 DefaultRootWindow( mydisplay), 49 myhint.x, myhint.y, myhint.width, myhint.height, 50 50, myforeground, mybackground); ^^^^^^^^^^^^ My helpers pointed out that the border color for the above call is the color specified in myforeground. The variable name (blame Intro to X Window system) is misleading. However, my problem is that myforeground is WHITE and I still get a BLACK border. Using essentially the same code ( copy and change) I have created a subwindow that does have the correct border color ==> But I am still mystified why the top level window does not want to display a white border. Thanks for the help, though. John Hall