aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-10 16:48:54 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-24 09:19:34 +0100
commitcb9e50c2f7de225b336721a7c0723f1d28da3607 (patch)
tree0d0f22c07411f64e46a2ed47745e65aebbc3a389 /nx-X11/programs/Xserver
parent52872a0de67226eff6100d8353f5c712e94e9e9d (diff)
downloadnx-libs-cb9e50c2f7de225b336721a7c0723f1d28da3607.tar.gz
nx-libs-cb9e50c2f7de225b336721a7c0723f1d28da3607.tar.bz2
nx-libs-cb9e50c2f7de225b336721a7c0723f1d28da3607.zip
Move AddScreen() comment where it actually belongs. Should be done in X.org, too.
Diffstat (limited to 'nx-X11/programs/Xserver')
-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 */ ,