Douglas.Tomm@A.GP.CS.CMU.EDU.UUCP (03/23/87)
I'm new to x programming, so please forgive what may seem a moronic question. I'm writing an application in which I want to use menus. For some reason, the (only) call to XMenuCreate returns NULL. The exact call to this function is if ((mymenu = XMenuCreate(RootWindow, argv[0])) == NULL) [bail out of program] The man page on menus says that a connection to the x server must be open. I tried putting a call to XGrabServer() before XMenuCreate, but that didn't help. How can I get it to work? Also, what exactly is meant by the term 'x server'? thanx in advance, doug tomm