Exorcise gScreenNum.

git-svn-id: svn://10.0.0.236/trunk@38504 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ramiro%netscape.com
1999-07-07 00:18:43 +00:00
parent 98d189ec54
commit cbf9846500
2 changed files with 1 additions and 2 deletions

View File

@@ -131,12 +131,12 @@ NS_METHOD nsAppShell::Create(int* argc, char ** argv)
exit(1);
}
_Xdebug = 1;
gScreenNum = DefaultScreen(gDisplay);
gScreen = DefaultScreenOfDisplay(gDisplay);
// init the rgb layer. this will provide
// the visual information for us.
xlib_rgb_init(gDisplay, gScreen);
gVisual = xlib_rgb_get_visual();
// set the static vars for this class so we can find our
// way around...
vis_template.visualid = XVisualIDFromVisual(gVisual);

View File

@@ -141,7 +141,6 @@ protected:
extern Display *gDisplay;
extern Screen *gScreen;
extern int gScreenNum;
extern int gDepth;
extern Visual *gVisual;
extern XVisualInfo *gVisualInfo;