rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (12/20/88)
The following is what I have done , but no window is displayed on the screen. Your code is rather strange looking. scrn = 1; scn = XScreenOfDisplay(dp, scrn); parent = XRootWindow(dp,0); Why are you getting screen 1, but then getting zero's root window? XMapwindow(dp, parent); There is no point in mapping the root window, it's already mapped. Also, this won't even link (it should be XMapWindow). Except for that, your program does display a window on the screen, so I don't know what your problem is.