Re: Performer Window on top.

New Message Reply Date view Thread view Subject view Author view

Jean-Luc Dery (dery++at++Discreet.COM)
Mon, 20 Oct 1997 09:55:57 -0400


On Oct 19, 2:53pm, Frank Dea wrote:
> Subject: Performer Window on top.
>
> Has anyone found a way to tell the window manager to always keep your
> Performer window on top of all other windows on the desktop at all times?
> If so, did you do this through WM_HINTS?
>
> In the draw process, I can call XRaiseWindow(display, window)
> continuously to keep my Performer window on top. However, it takes
> anywhere from 1-3 seconds on an iR Onyx for my Performer window to
> return to the top and it does not prevent other windows from covering it
> briefly. Here's my code for this:
>
> Window window = pipe->getPWin(0)->getWSWindow();
> Display *display = pfGetCurWSConnection();
> XRaiseWindow(display, window);
>
> What I'm looking for, is to request that my Performer window stay on top
> once in the pfPipeWindow's configuration function. This would prevent
> other windows from overlapping my Performer window at all times.
>
> Any suggestions?
XConfigureWindow

Try calling the following after XRaiseWindow:

XFlush( display );

This should take care of the delay.

As for preventing other windows from overlapping, I've never tried it, but have
a look at XChangeWindowAttributes; this could help you.

Hope this helps,

Jean-Luc

-- 
_____________________________________________________________________________

Jean-Luc Dery Discreet Logic System Engineer 10 Duke Street 3-D Graphics Technology Montreal (Quebec), Canada, H3C 2L7 Tel: (514) 954-7239 Email: dery++at++discreet.com Fax: (514) 393-0110 _____________________________________________________________________________ ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:06 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.