Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bcm!moniz.bcm.tmc.edu!jchaney From: jchaney@moniz.bcm.tmc.edu Newsgroups: comp.windows.x Subject: Re: Xman menu Message-ID: <1516@gazette.bcm.tmc.edu> Date: 8 May 89 16:02:59 GMT Sender: usenet@bcm.tmc.edu Reply-To: jchaney@moniz.bcm.tmc.edu (Jesse Chaney) Organization: IAIMS Development, Baylor College of Medicine, Houston, TX Lines: 42 >> Xman's habit of popping up a menu when you move the cursor through it's >> title bar is INCREDIBLY annoying. Is there a way to require a click in >> this area to bring up the offending menu? >Fixed in the next release :-) Seriously though, Xman will have real pull down >and popup menus in the version released in X11R4. For now though you will >have to live with it. I always liked xman but HATED the menus always appearing when ever I moved my cursor through the window. I have a I have enclosed a patch for that. The entire patch is one word in one file. EnterWindowMask is changed to ButtonPressMask in the file buttons.c. With this change you need to button down to have the menu appear. Any button will do. Enjoy. *** buttons.c.orig Mon May 8 10:08:47 1989 --- buttons.c Mon May 8 10:34:16 1989 *************** *** 212,218 **** XtPanedSetMinMax( man_globals->label, 2 , Height( man_globals->label ) ); ! XtAddEventHandler(man_globals->label, (Cardinal) EnterWindowMask, FALSE ,PopUpMenu, NULL); /* Create Directory */ --- 212,218 ---- XtPanedSetMinMax( man_globals->label, 2 , Height( man_globals->label ) ); ! XtAddEventHandler(man_globals->label, (Cardinal) ButtonPressMask, FALSE ,PopUpMenu, NULL); /* Create Directory */ R. Jesse Chaney, jchaney@bcm.tmc.edu Office of VPIT Baylor College of Medicine Houston, Texas 77030