Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!lilac.cis.ohio-state.edu!hall From: hall@lilac.cis.ohio-state.edu (john hall) Newsgroups: comp.windows.x Subject: Novice X11 question on Borders Message-ID: <34450@tut.cis.ohio-state.edu> Date: 9 Feb 89 20:05:04 GMT Sender: news@tut.cis.ohio-state.edu Reply-To: Distribution: usa Organization: Ohio State University Computer and Information Science Lines: 29 Question on X11: Inconsistent (to me) results on border colors: I an having trouble getting white on black text with a white border. When I ask for black on white text, I get the black border. 47 mywindow = XCreateSimpleWindow( mydisplay, 48 DefaultRootWindow( mydisplay), 49 myhint.x, myhint.y, myhint.width, myhint.height, 50 50, myforeground, mybackground); 51 52 XSetStandardProperties( mydisplay, mywindow, hello, hello, 53 None, argv, argc, &myhint); 54 55 mygc = XCreateGC( mydisplay, mywindow, 0, 0); 56 XSetBackground( mydisplay, mygc, mybackground); 57 XSetForeground( mydisplay, mygc, myforeground); 58 XSetWindowBorder( mydisplay, mywindow, myforeground); 59 Direct mail is fine. I will post a solution to the net to prevent multiple solutions clogging the network. Help is appreciated.