How to determine is window is displayed on Server?

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

Submitted by Anonymous on Fri, 07/12/2002 - 17:38. Developers
I am writing a video display application. It gets frames of data from a hardware sounce and paints them into the application`s set of double buffered pixmaps. On expose events they are painted in the window. A XtAppTimer event sequences grabbing and painting new frames.

Problem is when the window gets hidden by the window manager I get no indication and can`t stop the timer (which consumes quite a bit of compute resource). Would like to not have CPU used when window doesn`t event show up on the server. How can I tell when the window is up?

Thanks in Advance!

Tue, 07/10/2012 - 11:17
#1
2 posts / 0 new
Last post
-6
Tue, 07/10/2012 - 11:17