Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!ames!elan!jlo From: jlo@elan.elan.com (Jeff Lo) Newsgroups: comp.windows.x Subject: Re: SparcStation Summary: set window manager input hint Keywords: XNeWS OpenWindows window manager input hint Message-ID: <646@elan.elan.com> Date: 21 Oct 89 20:14:25 GMT References: <8910201450.AA00282@orzo.ndl.com> Reply-To: jlo@elan.elan.com (Jeff Lo) Organization: Elan Computer Group, Inc., Mountain View, CA Lines: 19 In article <8910201450.AA00282@orzo.ndl.com> gilley@ndl.COM (Greg Gilley) writes: >Has anyone gotten xrn or xtrek (or any X application) to run properly >under sun's X11/NeWS 1.0 release? I keep getting a message about input >queue lock broken and none of my apps will accept any keyboard input. >Any and all help will be greatly appreciated. Thanks, Try adding a call to XSetWMHints() to set the input hint. Something like this should do the trick: XWMHints wmhints; wmhints.input = True; wmhints.flags = InputHint; XSetWMHints(display, window, &wmhints); -- Jeff Lo, Elan Computer Group, Inc. jlo@elan.com, ..!{ames,uunet}!elan!jlo 888 Villa Street, Third Floor, Mountain View, CA 94041, 415-964-2200