[comp.windows.x] Querying window manager type from application program

mking@lll-crg.llnl.gov (Marianne King) (05/15/91)

I am writing an application using the Motif toolkit and running the
application on Open Windows.  I am using a GKS graphics package which
has a bug when I run my application on Open Windows.  However, the
bug disappears when I run my application on mwm and twm.  I figured
out a work around.  However, with the work around my application won't
work using mwm and twm.  

Is there any way to find out what window manager I'm using from my 
application program?

Thanks in advance.

Marianne E. King
Lawrence Livermore National Laboratory
mking@lll-crg.llnl.gov
(415) 423-4116