From c7656b8659b7828047eba65031efc6eeccba4da8 Mon Sep 17 00:00:00 2001 From: dcnieho Date: Fri, 1 Mar 2013 07:43:48 +0000 Subject: [PATCH] comment on implementation of window status callback git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1540 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/fg_callbacks.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/freeglut/freeglut/src/fg_callbacks.c b/freeglut/freeglut/src/fg_callbacks.c index e60ea66..1d89505 100644 --- a/freeglut/freeglut/src/fg_callbacks.c +++ b/freeglut/freeglut/src/fg_callbacks.c @@ -172,6 +172,11 @@ void FGAPIENTRY glutDisplayFunc( FGCBDisplay callback ) * DEVELOPER NOTE: in the library, only invoke the window status func, this * gets automatically translated to the visibility func if thats what the * user has set. + * window status is kind of anemic on win32 as there are no window messages + * to notify us that the window is covered by other windows or not. + * Should one want to query this, see + * http://stackoverflow.com/questions/5445889/get-which-process-window-is-actually-visible-in-c-sharp + * for an implementation outline (but it would be polling based, not push based). */ static void fghVisibility( int status ) {