This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: question about multiwindow mode and application icons


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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]