question about multiwindow mode and application icons

Ralf Habacker Ralf.Habacker@freenet.de
Fri May 16 19:36:00 GMT 2003


Earle wrote: 

> s_pScreenPriv->pWMInfo
>  From that you can get the display ptr.  

Thanks. The first I've got. 

> int
> GetWindowClass(WindowPtr pWin, char *basename, char *windowClass)
> {
>   WMInfoPtr pWMInfo = /* pWin -- ??? */ ;

  winPrivWinPtr pWinPriv = winGetWindowPriv(pWin);
  winPrivScreenPtr s_pScreenPriv = pWinPriv->pScreenPriv;
  WMInfoPtr pWMInfo = s_pScreenPriv->pWMInfo; 

Cheers 
Ralf 



More information about the Cygwin-xfree mailing list