summaryrefslogtreecommitdiff
path: root/dix/main.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-07-16 14:19:04 -0400
committerAdam Jackson <ajax@redhat.com>2008-07-16 14:19:04 -0400
commita82e6efb7b9b2ab9a1597b002f375c5ee105e7f5 (patch)
tree8bd34562d7d633393552d726c38720dbab190ef3 /dix/main.c
parent1a573e402ec112913a404f092b5b97d8d9210f94 (diff)
Remove the numVideoScreens xprintism.
This was to account for cases where you had video and print screens in the same server. Lunacy. Leave the slot in ScreenInfo, but rename it, and stop looking at it.
Diffstat (limited to 'dix/main.c')
-rw-r--r--dix/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/dix/main.c b/dix/main.c
index 3bc45fb37..d8e3baca3 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -309,7 +309,6 @@ int main(int argc, char *argv[], char *envp[])
SetInputCheck(&alwaysCheckForInput[0], &alwaysCheckForInput[1]);
screenInfo.arraySize = MAXSCREENS;
screenInfo.numScreens = 0;
- screenInfo.numVideoScreens = -1;
WindowTable = (WindowPtr *)xalloc(MAXSCREENS * sizeof(WindowPtr));
if (!WindowTable)
FatalError("couldn't create root window table");
@@ -339,8 +338,6 @@ int main(int argc, char *argv[], char *envp[])
if (screenInfo.numScreens < 1)
FatalError("no screens found");
- if (screenInfo.numVideoScreens < 0)
- screenInfo.numVideoScreens = screenInfo.numScreens;
InitExtensions(argc, argv);
for (i = 0; i < screenInfo.numScreens; i++)
{