treewide: drop ScreenInfoPtr parameter from InitOutput()

Nobody's using this pointer anymore, everybody's using the global
screenInfo structure.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-09-03 16:57:39 +02:00
committed by Enrico Weigelt
parent 16d6182e15
commit 56c4d68140
10 changed files with 11 additions and 15 deletions

View File

@@ -1865,14 +1865,12 @@ insists that these must be the same for all screens on the server.</para>
<para>
<blockquote><programlisting>
InitOutput(pScreenInfo, argc, argv)
ScreenInfo *pScreenInfo;
InitOutput(argc, argv)
int argc;
char **argv;
</programlisting></blockquote>
Upon initialization, your DDX routine InitOutput() is called by DIX.
It is passed a pointer to screenInfo to initialize. It is also passed
the argc and argv from main() for your server for the command-line
It is passed the argc and argv from main() for your server for the command-line
arguments. These arguments may indicate what or how many screen
device(s) to use or in what way to use them. For instance, your
server command line may allow a "-D" flag followed by the name of the