From 0b246b477db787417d63339648d13e3b7afc35af Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Fri, 1 Mar 2013 07:43:48 +0000 Subject: [PATCH] comment on implementation of window status callback git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1540 7f0cb862-5218-0410-a997-914c9d46530a --- src/fg_callbacks.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/fg_callbacks.c b/src/fg_callbacks.c index e60ea66..1d89505 100644 --- a/src/fg_callbacks.c +++ b/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 ) { -- 1.7.10.4