(file) Return to xf86Globals.c CVS log (file) (dir) Up to [XFree86 CVS] / xc / programs / Xserver / hw / xfree86 / common

Diff for /xc/programs/Xserver/hw/xfree86/common/xf86Globals.c between version 1.1 and 1.1.2.1

version 1.1, 1997/07/15 06:57:53 version 1.1.2.1, 1997/07/15 06:57:53
Line 0 
Line 1 
   /* $XFree86$ */
   
   /*
    * Copyright (c) 1997 by The XFree86 Project, Inc.
    */
   
   /*
    * This file contains all the XFree86 global variables.
    */
   
   #include "X.h"
   #include "os.h"
   #include "xf86.h"
   #include "xf86Priv.h"
   
   /* Globals that video drivers may access */
   
   int xf86ScreenIndex = -1;       /* Index of ScrnInfo in pScreen.devPrivates */
   ScrnInfoPtr *xf86Screens = NULL;        /* List of ScrnInfos */
   int xf86NumScreens = 0;
   Bool xf86VTSema = FALSE;
   Bool xf86Exiting = FALSE;
   Bool xf86Resetting = FALSE;
   Bool xf86ProbeFailed = FALSE;
   Bool xf86ScreensOpen = FALSE;
   #ifdef XFree86LOADER
   char **xf86ModulesLoaded = NULL;
   int xf86NumModulesLoaded = 0;
   #endif
   
   /* Parameters set only from the command line */
   char *xf86ServerName = "no-name";
   int xf86Verbose = DEFAULT_VERBOSE;
   Bool xf86ProbeOnly = FALSE;
   int xf86Bpp = -1;
   int xf86Depth = -1;
   xrgb xf86Weight = {-1, -1, -1};
   Bool xf86ShowUnresolved = DEFAULT_UNRESOLVED;
   char *xf86ConfigFile = NULL;
   Bool xf86BestRefresh = DEFAULT_BEST_REFRESH;
   Bool xf86FlipPixels = FALSE;
   double xf86RedGamma = 0.0;
   double xf86GreenGamma = 0.0;
   double xf86BlueGamma = 0.0;
   
   /* Globals that video drivers may not access */
   
   xf86InfoRec xf86Info = {
           NULL,           /* pKeyboard */
           NULL,           /* kbdProc */
           NULL,           /* kbdEvents */
           -1,             /* consoleFd */
           -1,             /* kbdFd */
           -1,             /* vtno */
           -1,             /* kbdType */
           -1,             /* kbdRate */
           -1,             /* kbdDelay */
           -1,             /* bell_pitch */
           -1,             /* bell_duration */
           TRUE,           /* autoRepeat */
           0,              /* leds */
           0,              /* xleds */
           NULL,           /* vtinit */
           NULL,           /* specialKeyMap */
           0,              /* scanPrefix */
           FALSE,          /* capsLock */
           FALSE,          /* numLock */
           FALSE,          /* scrollLock */
           FALSE,          /* modeSwitchLock */
           FALSE,          /* serverNumLock */
           FALSE,          /* composeLock */
           FALSE,          /* vtSysreq */
   #if defined(SVR4) && defined(i386)
           FALSE,          /* panix106 */
   #endif
           NULL,           /* pMouse */
   #ifdef XINPUT
           NULL,           /* mouseLocal */
   #endif
           NULL,           /* mouseDev */
           -1,             /* lastEventTime */
           FALSE,          /* vtRequestsPending */
           FALSE,          /* inputPending */
           FALSE,          /* dontZap */
           FALSE,          /* dontZoom */
           FALSE,          /* notrapSignals */
           FALSE,          /* caughtSignals */
           FALSE,          /* sharedMonitor */
           NULL,           /* currentScreen */
   #ifdef CSRG_BASED
           -1,             /* screenFd */
           -1,             /* consType */
   #endif
   #ifdef AMOEBA
           NULL,           /* screenPtr */
   #endif
   #ifdef XKB
           NULL,           /* xkbkeymap */
           NULL,           /* xkbkeycodes */
           NULL,           /* xkbtypes */
           NULL,           /* xkbcompat */
           NULL,           /* xkbsymbols */
           NULL,           /* xkbgeometry */
           FALSE,          /* xkbcomponents_specified */
           NULL,           /* xkbrules */
           NULL,           /* xkbmodel */
           NULL,           /* xkblayout */
           NULL,           /* xkbvariant */
           NULL,           /* xkboptions */
   #endif
           FALSE,          /* allowMouseOpenFail */
           FALSE,          /* vidModeEnabled */
           FALSE,          /* vidModeAllowNonLocal */
           FALSE,          /* miscModInDevEnabled */
           FALSE,          /* miscModInDevAllowNonLocal */
           PCIProbe1       /* pciFlags */
   };
   
   /* Parameters set only from the command line */
   Bool xf86AllowMouseOpenFail = FALSE;
   #ifdef XF86VIDMODE
   Bool xf86VidModeEnabled = TRUE;
   Bool xf86VidModeAllowNonLocal = FALSE;
   #endif
   #ifdef XF86MISC
   Bool xf86MiscModInDevEnabled = TRUE;
   Bool xf86MiscModInDevAllowNonLocal = FALSE;
   #endif
   Bool xf86fpFlag = FALSE;
   Bool xf86coFlag = FALSE;
   Bool xf86sFlag = FALSE;
   


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

Powered by
ViewCVS 0.9.2