projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I suspect a lot of people will not have motif installed.
[freeglut]
/
freeglut-1.3
/
freeglut_state.c
diff --git
a/freeglut-1.3/freeglut_state.c
b/freeglut-1.3/freeglut_state.c
index
6a13db4
..
cb40f05
100644
(file)
--- a/
freeglut-1.3/freeglut_state.c
+++ b/
freeglut-1.3/freeglut_state.c
@@
-364,7
+364,8
@@
int FGAPIENTRY glutGet( GLenum eWhat )
/*
* ...then we've got to correct the results we've just received...
*/
/*
* ...then we've got to correct the results we've just received...
*/
- if ( fgStructure.Window->Parent == NULL )
+ if (fgStructure.GameMode != fgStructure.Window &&
+ fgStructure.Window->Parent == NULL )
{
winRect.left += GetSystemMetrics( SM_CXSIZEFRAME );
winRect.right -= GetSystemMetrics( SM_CXSIZEFRAME );
{
winRect.left += GetSystemMetrics( SM_CXSIZEFRAME );
winRect.right -= GetSystemMetrics( SM_CXSIZEFRAME );