void fghRestoreState( void )
{
#if TARGET_HOST_UNIX_X11
+
+# ifdef X_XF86VidModeGetAllModeLines
/*
* Restore the remembered pointer position:
*/
/*
* This highly depends on the XFree86 extensions, not approved as X Consortium standards
*/
-# ifdef X_XF86VidModeGetAllModeLines
if (fgDisplay.DisplayModeValid)
{