Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!hellgate.utah.edu!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: Re: Bug in xfig or Xaw Keywords: InputHint needs to be set Message-ID: <4211@helios.ee.lbl.gov> Date: 13 Nov 89 16:55:31 GMT References: <2566@goanna.oz.au> Sender: usenet@helios.ee.lbl.gov Reply-To: envbvs@epb2.lbl.gov (Brian V. Smith) Organization: Lawrence Berkeley Laboratory Lines: 30 Try setting InputHint of the Window Manager hints to TRUE. xfig will not allow any input when running DECwindows dxwm (a fully ICCCM- compliant window manager), so this fixes that problem. Maybe it is also your problem. (near line 229 in main.c): Arg tmp_arg[2]; + XWMHints *wmhints; (near line 314 in main.c): ... XtManageChildren(children, NCHILDREN); XtRealizeWidget(tool); + /* Set the input field to true to allow keyboard input */ + wmhints = XGetWMHints(tool_d, XtWindow(tool)); + wmhints->flags = InputHint; + wmhints->input = True; + XSetWMHints(tool_d, XtWindow(tool),wmhints); if( RHS_PANEL ) ... _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.