Xref: utzoo comp.windows.x:28574 alt.toolkits.xview:36 Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!mips!nec-gw!sparkle!achan From: achan@sparkle.nec.com (Amy Chan) Newsgroups: comp.windows.x,alt.toolkits.xview Subject: Re: Problems getting text focus in Olwm Message-ID: <395@nec-gw.nec.com> Date: 22 Oct 90 16:42:14 GMT References: <848@redford.UUCP> Sender: news@nec-gw.nec.com Organization: NEC-AM TDD, San Jose, California Lines: 18 In article <848@redford.UUCP> bill@redford.UUCP (Bill Poitras(X258)) writes: >We have programs which run under X11R4, and are supposed to be ICCCM compliant. >One of our users on a remote site is using the Olwm with our programs, which we >don't have. His problems is that Olwm refuses to give our application the >keyboard input focus. He can use the mouse in an application, but not the >keyboard. I can't seem to find anything in the ICCCM v1.0 that would help me. >What special calls have to be made to let the WM let an application get input >focus. Any help would greatly be appreciated. Try to use the Xlib function call XSetWMHints() to set the window manager hints that include whether the application relies on the window manager to get keyboard input. Amy Chan NEC America, Inc. achan@tdd.sj.nec.com