Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!jarthur!elroy.jpl.nasa.gov!decwrl!asente From: asente@decwrl.dec.com (Paul Asente) Newsgroups: comp.windows.x Subject: Re: proper way to get keypress events within override-redirect windows Message-ID: <2956@bacchus.dec.com> Date: 3 Mar 90 06:26:57 GMT References: <9003022203.AA18830@armory> Organization: DEC Western Software Lab Lines: 16 The input hint is a hint to the window manager. Since window managers never see override-redirect windows, the input hint is meaningless for them. First of all, do you *really* want and override-redirect window for this? Are there absolutely *no* circumstances where the user might want to move this window? Not even to consult other windows to figure out what to enter? Are you sure? Window managers are in charge of the X input focus. If the window manager has assigned the focus somewhere, you will have to get involved to assign it to your overr-de-redirect window. If the user is using pointer-root focus, you're probably ok, but if the user is using click-to-type, you're hosed. -paul asente asente@decwrl.dec.com decwrl!asente