I don't know exactly when this appeared (recently), but the latest
21.2 on my debian woody system has the following focus problem:
- start XEmacs -vanilla
- M-x customize-variable (anything)
- edit the value
- click on the SET button
Now, the keyboard focus is lost. I have to leave and re-enter the frame to get
it back.
- Quit XEmacs
The following message appears (twice0 on the console:
| Warning: XtRemoveGrab asked to remove a widget not on the list
        I haven't investigated, but these problems look very much related.
-- 
    /     /   _   _       Didier Verna        
http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /        EPITA / LRDE            mailto:didier@epita.fr
/_/ / /_/ / /__ /      14-16 rue Voltaire       Tel.   +33 (1) 44 08 01 77
                   94276 Kremlin-Bicêtre cedex  Fax.   +33 (1) 44 08 01 99