mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
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:
committed by
Enrico Weigelt
parent
16d6182e15
commit
56c4d68140
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user