More position tweeks.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@20 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
cjp 2001-08-05 19:30:26 +00:00
parent 0e3fcc69ea
commit e8ab11f1f2

View File

@ -435,17 +435,17 @@ void fgOpenWindow( SFG_Window* window, const char* title, int x, int y, int w, i
*/
XMapWindow( fgDisplay.Display, window->Window.Handle );
/*
* This somehow fixes the glutGet() GLUT_WINDOW_X and GLUT_WINDOW_Y problem...
*/
//XMoveWindow( fgDisplay.Display, window->Window.Handle, x, y );
/*
* In game mode, move the viewport a bit to hide the decorations.
* This code depends on the XFree86 video mode extensions.
*/
if( gameMode == TRUE )
{
/*
* This somehow fixes the glutGet() GLUT_WINDOW_X and GLUT_WINDOW_Y problem...
*/
XMoveWindow( fgDisplay.Display, window->Window.Handle, x, y );
# ifdef X_XF86VidModeSetViewPort
/*