aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/dix
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/dix')
-rw-r--r--nx-X11/programs/Xserver/dix/dispatch.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/dix/dispatch.c b/nx-X11/programs/Xserver/dix/dispatch.c
index 3a414eca8..8294a583a 100644
--- a/nx-X11/programs/Xserver/dix/dispatch.c
+++ b/nx-X11/programs/Xserver/dix/dispatch.c
@@ -4127,6 +4127,13 @@ static int init_screen(ScreenPtr pScreen, int i)
void FreeScreen(ScreenPtr);
+/*
+ grow the array of screenRecs if necessary.
+ call the device-supplied initialization procedure
+ with its screen number, a pointer to its ScreenRec, argc, and argv.
+ return the number of successfully installed screens.
+*/
+
int
AddScreen(Bool (*pfnInit) (ScreenPtr /*pScreen */ ,
int /*argc */ ,