zjmw0a@.uucp (Joe M. Wade) (03/04/89)
I have just begun trying some new things with X11 (being a fairly novice user) and am running into some conflicts with twm. We are running X11R3 on Sun OS4.0 and I am on a diskless 3/60 workstation. Problem 1: This involves the installation of a colormap in an application. As soon as the application installs a colormap which I built, the window manager reinstalls its own colormap. I put in an event handler which would capture a ColormapChangeEvent and reinstall the application colormap and this caused a flashing screen as the application and twm each installed their colormaps. Problem 2: I have tried putting calls to XtCreateApplicationShell in the program to have two data display window separate from the processing parameters window. If I run the application with uwm, it works fine, but if run under twm, the windows created by XtCreateApplicationShell never show up, only the one created by XtInitialize. No errors are ever displayed, and data can be sent to the non-existant forms. Can either of these problems be solved by the use of WMHints? The programs make heavy use of the Toolkit and if I can use any existing structures to pass the necessary hints to twm, it would be great. Or is the worst case scenario of digging into the twm source the answer? Thanks in advance for any assistance. Joe M. Wade