Exorcise gScreenNum.
git-svn-id: svn://10.0.0.236/trunk@38504 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -141,7 +141,6 @@ protected:
|
||||
|
||||
extern Display *gDisplay;
|
||||
extern Screen *gScreen;
|
||||
extern int gScreenNum;
|
||||
extern int gDepth;
|
||||
extern Visual *gVisual;
|
||||
extern XVisualInfo *gVisualInfo;
|
||||
|
||||
Reference in New Issue
Block a user