X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=4e23f32a0204c5d888e8764473f0f2d5b11ae27c;hb=8e06738e2a2879e125fa166f6f7817727d898beb;hp=48489c53746caa457292fa9b4d5017d63de84217;hpb=fee0adb5bcfe989d4b9702f104008250a588902d;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index 48489c5..4e23f32 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -89,7 +89,7 @@ #include #include - #if HAVE_X11_EXTENSIONS_XF86VMODE_H + #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H #include #endif #endif @@ -269,6 +269,11 @@ struct tagSFG_Display int DisplayModeValid; /* Flag that indicates runtime status*/ XF86VidModeModeLine DisplayMode; /* Current screen's display settings */ int DisplayModeClock; /* The display mode's refresh rate */ + int DisplayViewPortX; /* saved X location of the viewport */ + int DisplayViewPortY; /* saved Y location of the viewport */ + int DisplayPointerX; /* saved X location of the pointer */ + int DisplayPointerY; /* saved Y location of the pointer */ + #endif #elif TARGET_HOST_WIN32