Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!tut.cis.ohio-state.edu!bloom-beacon!XEROX.COM!Schlichter.Wbst From: Schlichter.Wbst@XEROX.COM Newsgroups: comp.windows.x Subject: problems with twm Message-ID: <881202-133805-1821@Xerox> Date: 2 Dec 88 21:38:01 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 33 I wrote a directory and file browser for X11 using the Athena Toolkit /Widget set. I originally implemented it for X11R2 and it worked fine. Recently I ported it to X11R3 and I got it to work correctly with uwm, rtl window manager but there are problems with twm. The symptoms with twm are the following: for several commands I popup a dialog box (not a dialog widget) which consists of several widget hierarchies (command widgets within form widget within pane widget etc). I use XtCreatePopupShell (with overrideShellWidgetClass), XtPopup with XtGrabNonexclusive, and XtPopdown. I don't do anything special with respect to grabbing the mouse. After popping down the dialog box I cannot type into text widgets which are children of my top level application shell. It seems all input focus is directed to the father of the text widget rather than the text widget itself. I made an attempt to see what is going within twm. I noticed that twm does a lot of mouse grabbing (applying the operations "removegrab" and "insertfocusentry") when my dialog box is popped up (the other window managers I tried do not do that). I have the feeling that after the dialog box is popped down, the focuslist is not updated correctly by twm. I use a SUN 4-260 with OS 4.0 and X11R3, TWM Version 1.2 Sorry, that I did not pin down the problem more specifically, but did anybody else experience problems like the one above with twm? /hans arpanet: schlichter.wbst@xerox.com uucp: rochester!rocksanne!jhs